I'm trying to have my optical encoder work on interrupts. I found some resources online that discuss it but they all seem to be based on an older version of debian since the files and folders in "/sys/class/gpio" are different. The article I was trying to use says to alter "/sys/class/gpio/gpio7/edge" by issuing "echo both > /sys/class/gpio/gpio7/edge" and monitor "/sys/class/gpio/gpio7/value" in the user program the interrupt is implemented in. I was wondering if anyone knows the equivalent files to alter in "Linux beaglebone 3.8.13-bone70"? I plan on using python w/ Adafruit_BBIO.GPIO but I wouldn't mind using C/C++ if needed. Any input or alternate method of implementing interrupts would be much appreciated.
Link to article: