my esd lab

 avatar
unknown
plain_text
5 months ago
191 B
2
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