- PlatformIO configuration for esp32-c3-devkitm-1 - Deep sleep cycling firmware with RTC persistence - Configurable sleep/active durations for PowerProfiler Kit II measurements - Serial debug output for monitoring boot cycles Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
19 lines
568 B
C
19 lines
568 B
C
#ifndef CONFIG_H
|
|
#define CONFIG_H
|
|
|
|
// Zyklusparameter
|
|
#define SLEEP_DURATION_S 30 // Deep Sleep Dauer in Sekunden
|
|
#define ACTIVE_DURATION_MS 5000 // Aktive Zeit in Millisekunden
|
|
#define TOTAL_CYCLES 10 // Gesamte Anzahl Zyklen
|
|
|
|
// WLAN Parameter (kann per Schleife ändern)
|
|
#define WIFI_SSID "YOUR_SSID"
|
|
#define WIFI_PASSWORD "YOUR_PASSWORD"
|
|
#define WIFI_ENABLED_CYCLE_1 true // Erstes Experiment: WLAN aktiviert
|
|
#define WIFI_ENABLED_CYCLE_2 false // Zweites Experiment: WLAN deaktiviert
|
|
|
|
// Debug Output
|
|
#define SERIAL_DEBUG 1
|
|
|
|
#endif
|