Add initial scripts for LED control and network scanning
This commit is contained in:
9
lights_on_off_intervals.py
Normal file
9
lights_on_off_intervals.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import machine
|
||||
led = machine.Pin("LED", machine.Pin.OUT)
|
||||
led.off() # Make sure off
|
||||
led.on() # Turn on last command, stays on
|
||||
|
||||
contactorV12 = Pin(12, Pin.OUT)
|
||||
|
||||
contactorV12.off()
|
||||
contactorV12.on()
|
||||
Reference in New Issue
Block a user