I found an odd error sending if certain \n order is used in a printf() function.
This will upload fine:
printf("nunchuck_joyD " BYTE_TO_BINARY_PATTERN, BYTE_TO_BINARY(nunchuck_joyD) );
printf("\n");
printf("\nnunchuck_angleX %d \n", nunchuck_angleX);
This gives error:
printf("nunchuck_joyD " BYTE_TO_BINARY_PATTERN, BYTE_TO_BINARY(nunchuck_joyD) );
//printf("\n");
printf("\nnunchuck_angleX %d \n", nunchuck_angleX);
Using Baudrate 115200
Opening serial port...
Extended header sending error, aborting
make: *** [upload] Error 1
The only difference is the insertion of \n
It appears to be an issue if the next char is another (single) n
I found an odd error sending if certain
\norder is used in aprintf()function.This will upload fine:
This gives error:
The only difference is the insertion of
\nIt appears to be an issue if the next char is another (single)
n