Add initial scripts for LED control and network scanning

This commit is contained in:
2025-11-11 19:30:43 -05:00
parent 13f5e6465a
commit 9d8df6bcbe
13 changed files with 288 additions and 0 deletions

8
led_blink.py Normal file
View File

@@ -0,0 +1,8 @@
from machine import Pin, Timer
led = Pin(15, Pin.OUT)
timer = Timer()
def blink(timer):
led.toggle()
timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)