added simple tap detect example

This commit is contained in:
mrmcwethy 2018-01-23 14:00:24 -07:00
parent 167a88bfc8
commit 30d41421f9

View file

@ -0,0 +1,7 @@
from adafruit_circuitplayground.express import cpx
cpx.detect_taps = 1
while True:
if cpx.tapped:
print("Single tap detected!")