I tried other pins as well. I am running a vanilla version of Linux 3.8 Angstrom, with just TTYO1 enabled. I removed the pwm and just
used a simple DC toggle, and same problem.
Code: Select all
#!/usr/bin/python
import sys
import Adafruit_BBIO.GPIO as GPIO
GPIO.setup("P9_12", GPIO.IN)
GPIO.add_event_detect("P9_12", GPIO.RISING)
print "starting test"
if GPIO.event_detected("P9_12"):
print "rising edge detected"
else:
print "not detected"