10 lines
199 B
Python
10 lines
199 B
Python
# Crickit library demo - Capacitive touch
|
|
|
|
import time
|
|
|
|
from adafruit_crickit import crickit
|
|
|
|
while True:
|
|
if crickit.touch_1.value:
|
|
print("Touched terminal Touch 1")
|
|
time.sleep(0.25)
|