eink use RESET button as regular button instead

1.2-legacy
geeksville 2020-09-28 13:10:27 -07:00
rodzic e5d4fbb164
commit a0fd83428f
2 zmienionych plików z 5 dodań i 0 usunięć

Wyświetl plik

@ -77,6 +77,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define BUTTON_PIN PIN_BUTTON1
#endif
#ifdef PIN_BUTTON2
#define BUTTON_PIN_ALT PIN_BUTTON2
#endif
// FIXME, use variant.h defs for all of this!!! (even on the ESP32 targets)
#elif defined(CubeCell_BoardPlus)

Wyświetl plik

@ -87,6 +87,7 @@ extern "C" {
* Buttons
*/
#define PIN_BUTTON1 (32 + 10)
#define PIN_BUTTON2 (0 + 18) // 0.18 is labeled on the board as RESET but we configure it in the bootloader as a regular GPIO
/*
* Analog pins