Skip to content

Commit aebc098

Browse files
committed
Updating to use double-tap.
1 parent 82ba9e4 commit aebc098

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
"""This example prints to the serial console when the board is tapped."""
1+
"""This example prints to the serial console when the board is double-tapped."""
22
from adafruit_circuitplayground import cp
33

4-
cp.detect_taps = 1
4+
cp.detect_taps = 2
55

66
while True:
77
if cp.tapped:
8-
print("Single tap detected!")
8+
print("Tapped!")

0 commit comments

Comments
 (0)