Quote:
|
Originally Posted by stephenthe1
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?
|
Yes. that's where you'll see the output.
Quote:
|
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!
|
That's why my code only prints the encoder value when it changes. It will still move pretty fast when the encoder is turned, but it will stop when the encoder stops. Also in order to keep as much of the data on screen as possible, I intentionally didn't print a newline.
Quote:
|
also, I don't know if it matters, but what are the three "..." periods for after the previous static encoder.
|
Those were just intended to show that there were lines omitted.
Quote:
also, it says there's an error on this line when I put it in user routines fast.
int tempEncoder;
what's up with that?
|
Sorry. I guess I could have been a little more specific. The first two lines need to go at the beginning of the function. In C (unlike in C++), data definitions must appear before any executable statements in a function.
Leave out the ellipsis (the "..."), and then put the rest of the code just before the arm control code.