You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given that the duty cycle might be calculated, it might be a good idea to let SetDutyCycle constructor accept a specified range.
Note
Reading the duty cycle may have different behavior depending on which board is used. This implementation detail shall be neglected, unless a better approach is discovered.
PWM is done via
pwmio.PWMOut
class.The
pulseio
module might also be relevant and similarly implemented (at a glance).The text was updated successfully, but these errors were encountered: