Dear everybody, Just after I have sent the email, I have found the problem. I did not managed properly the control lines of the LS7166.
Upon request, I share my code for thoose, who wants to look at it. Alex > Dear Everybody, > > I think this is slightly off topic, but anyway must I ask. > > Does anybody have a working code that reads the LS7166 quadrature decoder? > Could you please share it with me? > > I could not get it work. I read just "0" all the time. > I am playing with it, since many days, without any success. > > Is there a way to ensure, there is a proper communication in between the > PIC (my chip is:PIC18f458) and the ls7166? > > I set up a serial link to my linux box, and the counter value is > transmitted to my screen, so I can see the read out continuously. > > Alex ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sdcc-user mailing list Sdcc-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sdcc-user