osresearch / esp32-ttgo

Code for the TT GO ESP32 module
156 stars 49 forks source link

Add a note about the PRG button #5

Open glennra opened 5 years ago

glennra commented 5 years ago

Your repo has been a helpful resource for this board, thanks. Today I wanted to use the PRG button and couldn't find any information specifically about reading it from code. I could see from the pinout diagram that it's supposed to be connected to GPIO 0 but couldn't get it to work. Turns out that you need to enable the internal pull up. It would have saved me a an hour or so if that info was to hand and your repo seems like an appropriate place for it.