Access to GPIO including interrupts using new GPIO test program and library
Based on what is covered here: https://community.onion.io/topic/401/yet-more-on-gpio-interrupts I have produced a new program (and library) for access to GPIO including interrupt handling capabilities.
The usage of the program is covered in the attached documentation as below.
Required files are:
- Basic new-gpiotest.pdf - This documents the program and should be read first since it includes information on pre-requisites that your Omega must satisfy
- libnew-gpio.so - A dynamic link library required for the program - see the documentation above
- new-gpiotest - The test program itself as documented
I will eventually be updating my post https://community.onion.io/topic/143/alternative-c-code-for-gpio-access with all the latest sources and documentation.
Enjoy! And feel free to ask any questions
Great work. Can I have the source for the interrupt lib? Or at least a pointer to the docs you used to make it. I don't want to link it I want to integrate to my own thing.
@Christiaan-Scholtz Its all in the file new-gpio-1.2.tar.bz2 that is attached to the post: https://community.onion.io/topic/143/alternative-c-code-for-gpio-access-now-with-interrupts/5
Good luck with it :-)