1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-15 23:13:07 +01:00

Add sleep mode for OBP40 and cleanup code

This commit is contained in:
norbert-walter
2025-01-21 22:08:02 +01:00
parent 569273519c
commit 27d23c9d16
68 changed files with 46 additions and 29326 deletions

View File

@@ -157,5 +157,9 @@
#define OBP_POWER_50 41 // Power LED
#define OBP_POWER_EPD 7 // ePaper power
#define OBP_POWER_SD 42 // SD card power
// Deep sleep wakeup
#define OBP_WAKEUP_LEVEL 0 // //1 = High, 0 = Low, depends on switch
#define OBP_WAKEWUP_PIN GPIO_NUM_5// Wakeup pin, same as CONF (wheel press)
// Must define as GPIO_NUM_X
#endif