Quote:
|
Originally Posted by Astronouth7303
How do you get a Long (signed or not) from the FRC to you?
I'm currently using printf() in a way so that, basically:
{snip}
The problem is that the thing seems to want to increment higher sections to soon. In a pattern.
|
The problem is that you're printing out each byte of the long as a base-10 number. Try using %x instead of %d. That way, you'll get the right numbers out, but they'll be in hex. If you want it in decimal, your best bet is to modify printf_lib.c (specifically the printi function) to accept long arguments.