parent
bd833b0c64
commit
04a7346abd
2
code.py
2
code.py
|
@ -20,7 +20,7 @@ previousValue = True
|
||||||
while True:
|
while True:
|
||||||
if buttonPin.value == False:
|
if buttonPin.value == False:
|
||||||
print("0x0")
|
print("0x0")
|
||||||
time.sleep(0.1)
|
time.sleep(0.2)
|
||||||
else:
|
else:
|
||||||
if previousValue != clkPin.value:
|
if previousValue != clkPin.value:
|
||||||
if clkPin.value == False:
|
if clkPin.value == False:
|
||||||
|
|
Loading…
Reference in New Issue