Hey,
We are working on a robot with a few students, using the OlinuXinO Maxi as our heart. On our motors we have encoders to measure the RPM of the wheels, so we can reasonably accurately calculate the distance, however, we can't really seem to find a nice and clean way to read the interrupts from the GPIO ports that the encoders are hooked up to.
we can read it perfectly with:
/proc/interrupts | grep gpio
But is there a more clean way to do this? preferably in C++?
Thanks!
read https://www.olimex.com/forum/index.php?topic=429.msg1625#msg1625 (https://www.olimex.com/forum/index.php?topic=429.msg1625#msg1625)