Hello ccrause!
After running wiringpisetup the wiringPiISR-routine is working correctly...
At least no error from compiler and form is displayed correctly.
Thank you very much for helping!
Hello avra!
Thanks for your reply!
One problem solved, the next one is on the way...
In order to wait for an interrupt usually endless loops are used.
But this blocks the GUI.
Using other programming languages I solved this with multithreading. (but in Pascal I do not know how to implement multithreading)
Is there a better way to wait for an interrupt while GUI is nonblocking in Pascal/Lazarus?
Could you please give me a hint where to find such (solved) problems inside this forum?
Should I start a new thread for this problem?