--- In [email protected], "Geert Vancompernolle" <[EMAIL PROTECTED]> wrote: > > --- In [email protected], "fox_grack" <da@> 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 > Hallo Geert i try to understand what you write. The source you write is it a kernel package or do you use it as an bash script?
If it is a kernel package you have to compile it with the sdk is that right? The following source you write tvTimeVal.tv_usec = 10000; /* 10ms is minimal timer tick of system */ is a timer from the Fox-board? The PCF8575 is conectet to the i2c-bus (if i read the datasheet corect) ? Sorry for so many question. Best regards grack
