Skip to content

Commit d49657a

Browse files
committed
Update
1 parent e961d27 commit d49657a

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Arduino switch and button library for components having 3 switched positions of
1515
Declare each switch or button, by indicating any 2 digital pins:
1616

1717
```c++
18-
Toggle sw1(3, 4); // GPIO 3 and 4
18+
Toggle sw1(7, 8); // GPIO 7 and 8
1919
```
2020
2121
The library sets pin in input mode with the internal pull-up resistor enabled by default. All switches have to be repeatedly polled which is done in the `loop()` function.
@@ -48,7 +48,7 @@ This sketch prints every sw1 transition (fully debounced and deglitched):
4848
```c++
4949
#include <Toggle.h>
5050

51-
Toggle sw1(3, 4);
51+
Toggle sw1(7, 8);
5252

5353
void setup() {
5454
Serial.begin(115200);

src/src.ino

Lines changed: 0 additions & 16 deletions
This file was deleted.

0 commit comments

Comments
 (0)