This is an old revision of the document!
Output a PWM waveform on the specified channel.
from cubloc import Pwm PWM(pin: int, duty: int, period: int)
duty count, where 0 <= duty < period.period count (1 to 65535).from cubloc import PWM # Example usage PWM(0, 1, 1)