from machine import Pin, PWM
import time
led = PWM(Pin(19))
while True:
led.freq(5000)
while True:
for d in range (0,65535,655):
led.duty_u16(d)
time.sleep_ms(200)
from machine import Pin, PWM
import time
led = PWM(Pin(19))
while True:
led.freq(5000)
while True:
for d in range (0,65535,655):
led.duty_u16(d)
time.sleep_ms(200)