Menu

#54 reuse pwm objects

Done
None
Medium
Defect
2018-10-21
2014-01-20
Tieske
No

When a pwm instance already exists for a channel, then an error should be thrown, or the existing object should be returned. Currently it creates a new object iirc.

Discussion

  • Ben Croston

    Ben Croston - 2014-01-21
    • status: New --> Accepted
    • assigned_to: Ben Croston
     
  • Tieske

    Tieske - 2014-02-13

    I fixed the issue by throwing an error.
    See https://github.com/Tieske/rpi-gpio/tree/fix_54
    Not sure if and how you can pull this. Let me know if I need to do anything

     
  • Ben Croston

    Ben Croston - 2018-10-20

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

     
  • Ben Croston

    Ben Croston - 2018-10-21
    • status: Accepted --> 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.