my esd lab
Anonymous
plain_text
11/30/2024 6:57 AM
256 B
13
Indexable
from machine import Pin, PWM
from time import sleep
led = PWM(Pin(4))
led.freq(1000)
while True:
led.duty(512)
sleep(0.5)
led.duty(0)
sleep(0.5)
Editor is loading...
Leave a Comment