We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 167a88b commit 30d4142Copy full SHA for 30d4142
examples/tapodetectsimple.py
@@ -0,0 +1,7 @@
1
+from adafruit_circuitplayground.express import cpx
2
+
3
+cpx.detect_taps = 1
4
5
+while True:
6
+ if cpx.tapped:
7
+ print("Single tap detected!")
0 commit comments