Compare commits
3
Commits
eb9b7ba225
...
69d083a0dd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
69d083a0dd | ||
|
|
37026667d8 | ||
|
|
d32add571f |
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 234 KiB |
+3
-3
@@ -1,10 +1,10 @@
|
||||
from machine import Pin
|
||||
from time import sleep
|
||||
|
||||
button = Pin(13, Pin.IN) #D7
|
||||
button2 = Pin(14, Pin.IN) #d5
|
||||
button = Pin(22, Pin.IN, Pin.PULL_UP) #D7
|
||||
button2 = Pin(23, Pin.IN, Pin.PULL_UP) #d5
|
||||
|
||||
while True:
|
||||
print(button.value(), button2.value())
|
||||
sleep(1)
|
||||
sleep(0.1)
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user