karawin / Ka-Radio32

esp32 version of Ka-Radio (https://github.com/karawin/Ka-Radio) by jp Cocatrix
515 stars 155 forks source link

GPIO00/S1 for TTGO-T-DISPLAY #209

Closed acruzde closed 3 years ago

acruzde commented 3 years ago

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).

karawin commented 3 years ago

Well done. And i had seen a lot of little bugs in the hardware document too. Thanks