BlocklyProp
BlocklyProp copied to clipboard
PWM blocks
possible bug
Calling pwm_set in code auto-injects pwm_start after main. Good and works fine.
Then...
Calling pwm_stop stops pwm output and kills the cog. Good so far. Code can now use that IO pin for other important stuff.
Then...
Calling another pwm_set doesn't appear to re-start (pwm_start) the cog. Oops.