Skip to content

Commit

Permalink
Create config.h
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberScopeToday authored Nov 29, 2024
1 parent 407dcfe commit fb21ab0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#ifndef CONFIG_H
#define CONFIG_H

// Wi-Fi Configuration
#define WIFI_SSID "your_wifi_ssid" // Replace with your Wi-Fi SSID
#define WIFI_PASSWORD "your_wifi_password" // Replace with your Wi-Fi Password

// ThingSpeak Configuration
#define THINGSPEAK_API_KEY "your_api_key" // Replace with your ThingSpeak API Key

// Telegram Bot Configuration
#define TELEGRAM_TOKEN "your_bot_token" // Replace with your Telegram bot token
#define TELEGRAM_CHAT_ID "your_chat_id" // Replace with your Telegram chat ID

// Additional Settings
#define PM2_5_LOW_THRESHOLD 12 // Low pollution threshold for PM2.5
#define PM2_5_MEDIUM_THRESHOLD 35 // Medium pollution threshold for PM2.5

#endif

0 comments on commit fb21ab0

Please # to comment.