This commit is contained in:
elmo128 2023-09-18 13:11:04 +02:00
parent 971613ebce
commit 2057ba8082

View File

@ -58,7 +58,7 @@ void setup()
button1.attachClick(switchToNextScreen); button1.attachClick(switchToNextScreen);
button1.attachDoubleClick(alternateScreenRotation); button1.attachDoubleClick(alternateScreenRotation);
button1.attachLongPressStart(reset_configuration); button1.attachLongPressStart(reset_configuration);
if(button1.getNumberClicks() == 3) alternateScreenState(); button1.attachMultiClick(alternateScreenState);
#endif #endif
#if defined(PIN_BUTTON_1) && defined(PIN_BUTTON_2) //Button 1 of two button device #if defined(PIN_BUTTON_1) && defined(PIN_BUTTON_2) //Button 1 of two button device