Commit 34b046c 1 parent c4493fd commit 34b046c Copy full SHA for 34b046c
File tree 2 files changed +2
-2
lines changed
examples/InterruptOneButton
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ Here's a full list of events handled by this library:
109
109
| ----------------------- | ------------------------------------------------------ |
110
110
| ` attachClick ` | Fires as soon as a single click is detected. |
111
111
| ` attachDoubleClick ` | Fires as soon as a double click is detected. |
112
- | ` attachPressStart ` | Fires as soon as the button is pressed down. |
112
+ | ` attachMultiClick ` | Fires as soon as multiple clicks have been detected. |
113
113
| ` attachLongPressStart ` | Fires as soon as the button is held down for 1 second. |
114
114
| ` attachDuringLongPress ` | Fires periodically as long as the button is held down. |
115
115
| ` attachLongPressStop ` | Fires when the button is released after a long hold. |
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ void setup()
141
141
button.attachDoubleClick (doubleClick);
142
142
button.attachMultiClick (multiClick);
143
143
144
- button.setPressTicks (1000 ); // that is the time when pressStart is called
144
+ button.setPressTicks (1000 ); // that is the time when LongPressStart is called
145
145
button.attachLongPressStart (pressStart);
146
146
button.attachLongPressStop (pressStop);
147
147
You can’t perform that action at this time.
0 commit comments