Skip to content

Commit

Permalink
renamed tripleClick() to multiClick()
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaggyDog18 committed Jan 27, 2021
1 parent 9a4ef29 commit 3f2da0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/SimpleOneButton/SimpleOneButton.ino
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// 23.06.2020 synch up with the original library version 1.5; added attachPressStart() function; test includes almost all functions
//--------------------
#include "OneButton.h"
// 3256 / 298
// 3260 / 302

// Setup a new OneButton on pin A1.
OneButton button(A1, true);
Expand Down
2 changes: 2 additions & 0 deletions src/OneButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ typedef void (*callbackFunction)(void);
#endif
}

#define attachTripleClick attachMultiClick // for compatibility with previous version


class OneButton {
public:
Expand Down

0 comments on commit 3f2da0c

Please sign in to comment.