Auto-Garden/Scripts/light_on.py

4 lines
75 B
Python

import machine
led = machine.Pin("LED", machine.Pin.OUT)
led.off()
led.on()