Quote:
|
Originally Posted by gwross
Here's what I would do to verify that your encoder is working: In the routine where you are controlling the arm, add the following code:
Code:
int tempEncoder;
static int prevEncoder = 0;
...
tempEncoder = Get_Left_Encoder_Count();
if (tempEncoder != prevEncoder) {
printf("%d ", tempEncoder);
prevEncoder = tempEncoder;
}
|
which screen will it print to when running the program? I know in the link cable program thing to download the (ifi loader) program, there's a little screen.
is it in that?
that would be hard to trace, because it prints out hundreds of lines, and there isn't a way to print or save it to a file for viewing. guess I can search it. thanks!
also, I don't know if it matters, but what are the three "..." periods for after the previous static encoder.