parent
78164b287d
commit
27bf5d7b1c
1
code.py
1
code.py
|
@ -20,6 +20,7 @@ previousValue = True
|
||||||
while True:
|
while True:
|
||||||
if buttonPin.value == False:
|
if buttonPin.value == False:
|
||||||
print("0x0")
|
print("0x0")
|
||||||
|
time.sleep(0.1)
|
||||||
else:
|
else:
|
||||||
if previousValue != clkPin.value:
|
if previousValue != clkPin.value:
|
||||||
if clkPin.value == False:
|
if clkPin.value == False:
|
||||||
|
|
Loading…
Reference in New Issue