Skip to content

Commit 34b046c

Browse files
committed
doku fixed.
1 parent c4493fd commit 34b046c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Here's a full list of events handled by this library:
109109
| ----------------------- | ------------------------------------------------------ |
110110
| `attachClick` | Fires as soon as a single click is detected. |
111111
| `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. |
113113
| `attachLongPressStart` | Fires as soon as the button is held down for 1 second. |
114114
| `attachDuringLongPress` | Fires periodically as long as the button is held down. |
115115
| `attachLongPressStop` | Fires when the button is released after a long hold. |

examples/InterruptOneButton/InterruptOneButton.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void setup()
141141
button.attachDoubleClick(doubleClick);
142142
button.attachMultiClick(multiClick);
143143

144-
button.setPressTicks(1000); // that is the time when pressStart is called
144+
button.setPressTicks(1000); // that is the time when LongPressStart is called
145145
button.attachLongPressStart(pressStart);
146146
button.attachLongPressStop(pressStop);
147147

0 commit comments

Comments
 (0)