Compare commits
6 Commits
e55e56d198
...
master
Author | SHA1 | Date | |
---|---|---|---|
69d083a0dd | |||
37026667d8 | |||
d32add571f | |||
eb9b7ba225 | |||
28a6506a8c | |||
8e8e978421 |
BIN
button/button.png
Normal file
BIN
button/button.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 234 KiB |
@@ -1,10 +1,10 @@
|
|||||||
from machine import Pin
|
from machine import Pin
|
||||||
from time import sleep
|
from time import sleep
|
||||||
|
|
||||||
button = Pin(13, Pin.IN) #D7
|
button = Pin(22, Pin.IN, Pin.PULL_UP) #D7
|
||||||
button2 = Pin(14, Pin.IN) #d5
|
button2 = Pin(23, Pin.IN, Pin.PULL_UP) #d5
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
print(button.value(), button2.value())
|
print(button.value(), button2.value())
|
||||||
sleep(1)
|
sleep(0.1)
|
||||||
|
|
||||||
|
BIN
fritzing/DHT11 Humitidy and Temperature Sensor.fzpz
Normal file
BIN
fritzing/DHT11 Humitidy and Temperature Sensor.fzpz
Normal file
Binary file not shown.
BIN
fritzing/DOIT Esp32 DevKit v1 improved.fzpz
Normal file
BIN
fritzing/DOIT Esp32 DevKit v1 improved.fzpz
Normal file
Binary file not shown.
BIN
fritzing/wiring.fzz
Normal file
BIN
fritzing/wiring.fzz
Normal file
Binary file not shown.
BIN
wiring.png
Normal file
BIN
wiring.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 247 KiB |
Reference in New Issue
Block a user