Only one PWM timer?
-
from machine import PWM
pwm0 = PWM(0, frequency=1)
pwm1 = PWM(1, frequency=50000)#two LEDs installed @ P3 and P12
blue = pwm0.channel(0, pin='P3', duty_cycle=0.5)
white = pwm1.channel(1, pin='P12', duty_cycle=0.5)Blue led blinks per second, the white led once per 4 second. Specifications state 4 timers. Tried all channels.
-
has this been fixed by now?
-
-
Thanks for the report. We'll look into that. Would you be able to report it here:
https://github.com/pycom/pycom-micropython/issues
Thanks again.
Cheers,
Daniel