Menu

#86 GPIO.wait_for_edge() continuous loop in while True function

Done
None
High
Defect
2015-01-04
2014-11-24
GeofP
No

When GPIO.wait_for_edge(23, GPIO.FALLING) is triggered at the start of a while True loop, the loop continues to repeat without being re-triggered. This happens with RPi.GPIO version 0.5.8 but not version 0.5.6.

Please see http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=88091&p=644021#p644021 including my comments at Nov 18th.

Discussion

  • Ben Croston

    Ben Croston - 2014-12-12
    • status: New --> Accepted
    • assigned_to: Ben Croston
     
  • Ben Croston

    Ben Croston - 2014-12-26

    Fix in source code library - will be part of next release

     
  • Ben Croston

    Ben Croston - 2014-12-26
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,3 @@
    -When GPIO.wait_for_edge(23, GPIO.FALLING) is triggered at the start of a while True loop, the loop continues to repeat without being re-treggered.  This happens with RPi.GPIO version 0.5.8 but not version 0.5.6.
    +When GPIO.wait_for_edge(23, GPIO.FALLING) is triggered at the start of a while True loop, the loop continues to repeat without being re-triggered.  This happens with RPi.GPIO version 0.5.8 but not version 0.5.6.
    
     Please see http://www.raspberrypi.org/forums/viewtopic.php?f=28&t=88091&p=644021#p644021 including my comments at Nov 18th.
    
    • status: Accepted --> Started
     
  • Ben Croston

    Ben Croston - 2015-01-04

    Part of release 0.5.9

     
  • Ben Croston

    Ben Croston - 2015-01-04
    • status: Started --> 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.