hello !
I need some help about the configuration of my GPIO's as interrupt source.( A13 olinuxino)
I work on Debian using language C.
Usually I work with microchip PIC but I try to understand how does it work with embebbed linux.
I just found a tutorial using cat and echo to read and write gpios status but i need more information about interrupt working.
thank you
someone to give me methodology or a tutorial about that? :-\
The only doc I know for these chips is all on the website...
There's not much if anything else (for these boards / chips).
John
everyone who want read gpio's port use a while loop ???
You can use that code: https://www.dropbox.com/s/3svplzr1nxg0pcu/gpio.c (https://www.dropbox.com/s/3svplzr1nxg0pcu/gpio.c)
For interrupts search 'edge gpio linux'. You can use gpio_set_edge() ;)
thank you vinifr :D