控制board led
This commit is contained in:
commit
0a9746a678
8
board_led.py
Normal file
8
board_led.py
Normal file
@ -0,0 +1,8 @@
|
||||
import machine
|
||||
from time import sleep
|
||||
led = machine.Pin("LED", machine.Pin.OUT)
|
||||
|
||||
while True:
|
||||
led.toggle()
|
||||
sleep(0.1)
|
||||
|
Loading…
Reference in New Issue
Block a user