MicroPython stuff
This commit is contained in:
9
code/MicroPython/blink.py
Normal file
9
code/MicroPython/blink.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import machine
|
||||
import time
|
||||
|
||||
led = machine.Pin(15, machine.Pin.OUT)
|
||||
|
||||
led.on()
|
||||
time.sleep(1)
|
||||
led.off()
|
||||
time.sleep(1)
|
||||
Reference in New Issue
Block a user