kopia lustrzana https://github.com/pimoroni/pimoroni-pico
Create led.py
rodzic
273ca5c56d
commit
6a26aa9802
|
@ -0,0 +1,12 @@
|
|||
# Blinky badger fun!
|
||||
|
||||
import badger2040
|
||||
import time
|
||||
|
||||
badger = badger2040.Badger2040()
|
||||
|
||||
while True:
|
||||
badger.led(255)
|
||||
time.sleep(1)
|
||||
badger.led(0)
|
||||
time.sleep(1)
|
Ładowanie…
Reference in New Issue