Quote:
Originally Posted by cgront
Help! It's not displaying the data frrom the encoders. Please any help would be appreciated asap
we checked the encoders and they are wired correctly.
we are trying to print the functions which should return the values in the code.
Thank you.
|
How are you trying to print the functions? The Get_Encoder... functions return long integers. If you try to print them using the %d format, you'll likely get zero unless the encoders have turned far enough to start setting the high bytes of the value.
Also, here's my standard question for problems of this type: what exactly does "wired correctly" mean?