EXT_PWR_DETECT pin to detect external power source for boards without the power management chip

This commit is contained in:
Vladislav Osmanov
2023-04-02 11:35:25 +02:00
committed by Thomas Göttgens
co-authored by Thomas Göttgens
parent 713b5fbe96
commit 6bf538e26f
3 changed files with 14 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@
#define BUTTON_PIN 39 // The middle button GPIO on the T-Beam
#define BATTERY_PIN 35 // A battery voltage measurement pin, voltage divider connected here to measure battery voltage
#define ADC_MULTIPLIER 1.85 // (R1 = 470k, R2 = 680k)
#define EXT_PWR_DETECT 4 // Pin to detect connected external power source for LILYGO® TTGO T-Energy T18 and other DIY boards
#define EXT_NOTIFY_OUT 12 // Overridden default pin to use for Ext Notify Module (#975).
#define LED_PIN 2 // add status LED (compatible with core-pcb and DIY targets)