Added delay to code to resolve issue.
This commit is contained in:
parent
bf0cf7486e
commit
c69a1813be
1 changed files with 2 additions and 0 deletions
|
|
@ -1,4 +1,6 @@
|
|||
import time
|
||||
from adafruit_circuitplayground.express import cpx
|
||||
|
||||
while True:
|
||||
print("Slide switch:", cpx.switch)
|
||||
time.sleep(0.1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue