Forum > Embedded - ARM

GPIO interrupt code

(1/2) > >>

pascalbythree:
Does anbode have Interrupt example code, to use for my GPIO Raspberry. To trigger some buttons. So u do not need a Timer.

bobihot:
I so interested.
May be need to write a OS driver, or use them. And to assign a function to handle this?

Carlos Liñan:
I am interested in this matter, but I can not find information, can anyone show an example?

Me interesa este asunto, pero no encuentro informacion, alguien puede mostrar algún ejemplo?

Tz:
if you are using linux try using epoll  :D

avra:
https://wiki.freepascal.org/Lazarus_on_Raspberry_Pi/de#Interrupt
https://github.com/SAmeis/pascalio/blob/master/examples/linux_interrupt/project1.lpr
https://github.com/SAmeis/pascalio/blob/master/gui-src/fpgpiocomp.pas

Navigation

[0] Message Index

[#] Next page

Go to full version