Compare commits

..

6 Commits

Author SHA1 Message Date
69d083a0dd Add fritzing models 2021-12-05 22:32:46 +13:00
37026667d8 Add breadboard imange 2021-12-05 22:31:49 +13:00
d32add571f Use pins 22 & 23 2021-12-05 22:31:22 +13:00
eb9b7ba225 Add breadboard wiring 2021-11-30 22:53:00 +13:00
28a6506a8c Remove rgb led wiring 2021-11-30 22:52:22 +13:00
8e8e978421 Add wiring for rgb led 2021-11-30 22:27:34 +13:00
6 changed files with 3 additions and 3 deletions

BIN
button/button.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB

View File

@@ -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.

BIN
fritzing/wiring.fzz Normal file

Binary file not shown.

BIN
wiring.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 KiB