We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e463ad9 commit e5ff857Copy full SHA for e5ff857
variants/sensebox_mcu_esp32s2/variant.cpp
@@ -34,11 +34,11 @@ void initVariant(void) {
34
pinMode(PD_ENABLE, OUTPUT);
35
digitalWrite(PD_ENABLE, HIGH);
36
37
- // Neuen Button-Pin definieren (z.B. GPIO 0 als Beispiel)
+ // define button pin
38
const int PIN_BUTTON = 0;
39
pinMode(PIN_BUTTON, INPUT_PULLUP);
40
41
- // Button gedrückt halten
+ // keep button pressed
42
unsigned long pressStartTime = 0;
43
bool buttonPressed = false;
44
0 commit comments