Problem description.
A.- Board: TTGO-T-DISPLAY. Sw version: git as of Feb. 26th 2021.
B.- Use case: to control stations +/- with on-board buttons S1 & S2 (i.e., pins GPIO00 & GPIO35 configured as inputs with GPIO_PULLUP_ENABLE).
C.- Modified ttgotdisplay.csv and flashed:
D.- Result: Button S2 (GPIO35) moves to next station in the list, as expected. Button S1 (GPIO00) is not responsive (GPIO00 is never configured).
E.- Proposed solution. Tested and working:
1.- Changes in file ClickButtons.c (see below).
2.- Changes in file gpio.c (see below).
Thanks, and keep up the good work.
(And remember when using GPIO00 in your application: it is better to use esptool.py, other tools might mess around with RTS&DTR signals).
Problem description. A.- Board: TTGO-T-DISPLAY. Sw version: git as of Feb. 26th 2021. B.- Use case: to control stations +/- with on-board buttons S1 & S2 (i.e., pins GPIO00 & GPIO35 configured as inputs with GPIO_PULLUP_ENABLE). C.- Modified ttgotdisplay.csv and flashed: D.- Result: Button S2 (GPIO35) moves to next station in the list, as expected. Button S1 (GPIO00) is not responsive (GPIO00 is never configured). E.- Proposed solution. Tested and working: 1.- Changes in file ClickButtons.c (see below). 2.- Changes in file gpio.c (see below).
Thanks, and keep up the good work. (And remember when using GPIO00 in your application: it is better to use esptool.py, other tools might mess around with RTS&DTR signals).