from machine import Pin, PWM
import time
pwm25 = PWM(Pin(19))
while True:
#from machine impor Pin, PWM
pwm25.freq(2000)
while True:
for d in range(0,65535,655):
pwm25.duty_u16(d)
time.sleep_ms(100)
from machine import Pin, PWM
import time
pwm25 = PWM(Pin(19))
while True:
#from machine impor Pin, PWM
pwm25.freq(2000)
while True:
for d in range(0,65535,655):
pwm25.duty_u16(d)
time.sleep_ms(100)