From 26f55baab4eec5898204d3c6afd36ad69aa50551 Mon Sep 17 00:00:00 2001 From: Antonio Vanegas Date: Tue, 19 Jan 2021 16:02:09 +0100 Subject: [PATCH] added button and basic reference on README. --- README.md | 1 + src/hal/ttgotwristband.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0241a3c4..9533fd8c 100644 --- a/README.md +++ b/README.md @@ -49,6 +49,7 @@ LoLin32lite + [LoraNode32-Lite shield](https://github.com/hallard/LoLin32-Lite-L - WeMos: LoLin32, LoLin32 Lite, WeMos D32, [Wemos32 Oled](https://www.instructables.com/id/ESP32-With-Integrated-OLED-WEMOSLolin-Getting-Star/) - Crowdsupply: [TinyPICO](https://www.crowdsupply.com/unexpected-maker/tinypico) - TTGO: [T-Display](https://www.aliexpress.com/item/33048962331.html) +- TTGO: [T-Wristband](https://www.aliexpress.com/item/4000527495064.html) - Generic ESP32 Depending on board hardware following features are supported: diff --git a/src/hal/ttgotwristband.h b/src/hal/ttgotwristband.h index 7535c39d..b64972fd 100644 --- a/src/hal/ttgotwristband.h +++ b/src/hal/ttgotwristband.h @@ -13,7 +13,7 @@ #define MY_DISPLAY_FLIP 1 // use if display is rotated #define HAS_LED NOT_A_PIN // no on board LED (?) -#define HAS_BUTTON (25) // on board button A +#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