BlocklyProp icon indicating copy to clipboard operation
BlocklyProp copied to clipboard

PWM blocks

Open VonSzarvas opened this issue 5 years ago • 3 comments

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.

VonSzarvas avatar Jul 30 '19 11:07 VonSzarvas