Merge pull request #294 from adafruit/kattni-patch-1

Added delay to code to resolve issue.
This commit is contained in:
Kattni 2018-08-10 21:03:51 -04:00 committed by GitHub
commit debc5b4485
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,6 @@
import time
from adafruit_circuitplayground.express import cpx
while True:
print("Slide switch:", cpx.switch)
time.sleep(0.1)