What steps will reproduce the problem?
1.
Run this code similar to the example:
import RPi.GPIO as GPIO
GPIO.setmode(GPIO.BOARD)
GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_UP)
GPIO.set_high_event(11)
if GPIO.event_detected(11):
print('Highing edge detected!')
GPIO.set_high_event(11, enable=False) # disable high detection (as set above)
GPIO.cleanup()
2. the machine freeze
What is the expected output? What do you see instead?
the execution do not freeze raspberry and I do not need to switch off power
supply
What version of the product are you using? On what operating system?
updated rasbyan / fedora remix
RPi.GPIO-0.4.2a
Please provide any additional information below.
if I change:
GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_UP)
to:
GPIO.setup(11, GPIO.IN, pull_up_down=GPIO.PUD_DOWN)
all works well
Original issue reported on code.google.com by p.patr...@iperbole.bologna.it on 24 Feb 2013 at 10:19
Original issue reported on code.google.com by
p.patr...@iperbole.bologna.it
on 24 Feb 2013 at 10:19