From 27e72fcb2d140bae2e3a9c56bd753b98d96dfbfe Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Fri, 22 Jan 2021 11:12:36 +0100 Subject: [PATCH] fixed ADC pin issue --- src/hal/ttgotwristband.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hal/ttgotwristband.h b/src/hal/ttgotwristband.h index b64972fd..a7f48af8 100644 --- a/src/hal/ttgotwristband.h +++ b/src/hal/ttgotwristband.h @@ -16,7 +16,7 @@ #define HAS_BUTTON (33) // on board button A // power management settings -#define BAT_MEASURE_ADC ADC1_GPIO34_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_6 +#define BAT_MEASURE_ADC ADC1_GPIO35_CHANNEL // battery probe GPIO pin -> ADC1_CHANNEL_7 #define BAT_VOLTAGE_DIVIDER 2.605f // voltage divider // Display Settings