diff --git a/config.h b/config.h new file mode 100644 index 0000000..3bc0aa6 --- /dev/null +++ b/config.h @@ -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