Skip to content
Snippets Groups Projects
Commit 339ef430 authored by rbs1g21's avatar rbs1g21
Browse files

Add new file

parent eb5e9464
No related branches found
No related tags found
No related merge requests found
from machine import Pin, Timer
led = Pin(25, Pin.OUT)
timer = Timer()
def blink(timer):
led.toggle()
timer.init(freq=2.5, mode=Timer.PERIODIC, callback=blink)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment