Closed tobiaszehntner closed 3 years ago
Hi wow sorry I missed this!
Yes, what happened was this error: https://stackoverflow.com/questions/23050738/beaglebone-pwm-limited-to-100-hz/23050835#23050835
Always set duty_cycle to zero BEFORE you set the frequency if the previous value will not fit into the new period, this avoids frustration.
However, this library should figure this out for you! (Or aleast provide a better error message).
👋 should error be fixed (i.e avoidable) in the latest version 0.1.1
Hi there,
When trying to change frequency I get an Invalid Argument error: