Hi!
I've started (some weeks ago) to use my beaglebone + some external hw (pushbuttons atm).
I'm currently using the Adafruit BeagleBone IO Python library, and it works ok atm.
What i need is to setup (in python of course) an interrupt for the rotary encoder, but i could not find any example.
Currently i can use interrupts for the pushbuttons using the function
GPIO.add_event_detect("P8_12", GPIO.FALLING, callback=DownArrow,bouncetime=200)
Can someone explain how to use interrupts for rotary encoders?
Many thanks!
[Adafruit BeagleBone IO Python library] Rotary encoder
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- michelinok
- Posts: 4
- Joined: Sun Jan 11, 2015 8:03 am
- michelinok
- Posts: 4
- Joined: Sun Jan 11, 2015 8:03 am
Re: [Adafruit BeagleBone IO Python library] Rotary encoder
I've found this....but it's for the raspberry....
Can someone "adapt" that code for the beaglebone?
Can someone "adapt" that code for the beaglebone?
Please be positive and constructive with your questions and comments.