--- In [email protected], "fox_grack" <[EMAIL PROTECTED]> wrote: > Thanks alot for your help. > But I think I will try the hint Edwin give me. > Becaus i do not understand what you are doing in here. > > If i get more familare withe the board i will try you result. > > Best regards > > grack >
I understand that this code might not be very clear at first, but this is the principle I wanted to show to you. This is also what Edwin suggested. The most important items in the code I've given, are the "while()" loop and the blocking wait time via "select()". For the rest, it's up to the user to fill in the body of the function. In my case, it was scanning IO pins from an expander, in your case, it might be something completely different, of course. I just wanted to give you the set-up... Best rgds, --Geert
