From 27e72fcb2d140bae2e3a9c56bd753b98d96dfbfe Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Fri, 22 Jan 2021 11:12:36 +0100 Subject: [PATCH 1/2] 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 From ac547a0ceecfb40f393783c0ce7a915a5e79aac3 Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Fri, 22 Jan 2021 11:17:42 +0100 Subject: [PATCH 2/2] added missing board record for twristband.h --- platformio_orig.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio_orig.ini b/platformio_orig.ini index fa28a8f7..26c79e8a 100644 --- a/platformio_orig.ini +++ b/platformio_orig.ini @@ -19,8 +19,9 @@ ;halfile = ttgov21new.h ;halfile = ttgofox.h ;halfile = ttgobeam.h -;halfile = ttgobeam10.h +halfile = ttgobeam10.h ;halfile = ttgotdisplay.h +;halfile = ttgotwristband.h ;halfile = fipy.h ;halfile = lopy.h ;halfile = lopy4.h