Menu

#154 Switching between PWM and plain fails

Done
None
Low
Other
2018-10-21
2017-11-07
No

Swapping between pwm and standard off/on on a pin fails after 250 cycles

in my robot prog, I use pwm to control motors but set pins to 0 to switch them off when idle

if I have 2 motors - it fails twice as quickly :(

Example code to show failure mode

https://pastebin.com/YLXHJ6GH

Discussion

  • Ben Croston

    Ben Croston - 2018-10-21

    Fix added to source code library. Will be included in next release.

     
  • Ben Croston

    Ben Croston - 2018-10-21
    • status: New --> Done
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.