Hi,
I wrote a program (Included as attachment) which needs to print integer variables.
Some are local variables and one is a global variable.
The local variables print as expected, but the global one is always printed with a “<” sign following and when it reaches 10 begins to print letters, even if I use the “DEC” parameter.
Can anyone explain me why this happens?
Many thanks in advance,
Luis
changeSerial.begin(9600);intoSerial.begin(115200); and of course set your arduino console at 115200 too.
to see if it has an impact on what you see - just in case the serial interface - which is interrupt driven and will block when buffer is full - messes around with the scheduler.