File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
44const byte pushButtonpin = 10 ; // downButton
55const byte toggleSwitchpin = 9 ; // upButton
6- const byte multiresponseButtonpin = 8 ; // selectButton
6+ const byte multiresponseButtonpin = 4 ; // selectButton
77const byte alleventsButtonpin = 7 ; // weldButton
88const byte buzzerPin = 3 ; // for beep when a switch is pressed
99
@@ -22,8 +22,9 @@ void beepCallbackFunction(void* s) // optional
2222}
2323
2424void setup ()
25- { Serial.begin (9600 );
26- toggleSwitch.setBeepAllCallback (&beepCallbackFunction/* , "Beep done"*/ ); // needed only for one switch because of static
25+ { Serial.begin (115200 );
26+ toggleSwitch.setBeepAllCallback (&beepCallbackFunction/* , "Beep done"*/ ); // needed only for one switch because of static
27+ // multiresponseButton.doubleClickPeriod=0; disable doubleClick()
2728}
2829
2930void loop ()
You can’t perform that action at this time.
0 commit comments