7 lines
142 B
Python
7 lines
142 B
Python
from adafruit_circuitplayground.express import cpx
|
|
|
|
cpx.detect_taps = 1
|
|
|
|
while True:
|
|
if cpx.tapped:
|
|
print("Single tap detected!")
|