Output a PWM waveform on the specified channel.
Output
channel
from cubloc import Pwm PWM(pin: int, duty: int, period: int)
duty
period
from cubloc import PWM # Example usage PWM(0, 1, 1)