Closed nonsintetic closed 4 years ago
It's defined in libraries/TTGO_TWatch_Library-master/src/board/twatch2020_v1.h as pin 37. You must always include "config.h". That pulls in LilyGoWatch.h. That pulls in the above file that defines RTC_INT.
A suggestion: if you develop on Linux or Mac, learn to use this command:
find ~/Arduino -type f -print0 | xargs -0 grep RTC_INT
So you can find where something is defined. I spent hours with that command trying to figure out how to wake the watch using the rtc alarm function.
There are a lot of mentions of RTC_INT in the code, but it's not defined anywhere. Which gpio is it?