Expose INA219 measurement as battery voltage for Seeed Xiao ESP32S3 (#6070)

* Expose INA219 measurement as battery voltage for Seeed Xiao ESP32S3

* Define BATTERY_PIN and don't block a random GPIO
This commit is contained in:
Sebastian Muszynski
2025-02-19 06:36:59 -06:00
committed by GitHub
parent 93c64cb442
commit bb73555209
+4
View File
@@ -36,6 +36,10 @@ L76K GPS Module Information : https://www.seeedstudio.com/L76K-GNSS-Module-for-S
#define BUTTON_PIN 21 // This is the Program Button #define BUTTON_PIN 21 // This is the Program Button
#define BUTTON_NEED_PULLUP #define BUTTON_NEED_PULLUP
#define BATTERY_PIN -1
#define ADC_CHANNEL ADC1_GPIO1_CHANNEL
#define BATTERY_SENSE_RESOLUTION_BITS 12
/*Warning: /*Warning:
https://www.seeedstudio.com/L76K-GNSS-Module-for-Seeed-Studio-XIAO-p-5864.html https://www.seeedstudio.com/L76K-GNSS-Module-for-Seeed-Studio-XIAO-p-5864.html
L76K Expansion Board can not directly used, L76K Reset Pin needs to override or physically remove it, L76K Expansion Board can not directly used, L76K Reset Pin needs to override or physically remove it,