PinguinoIDE / pinguino-libraries

Pinguino librairies, keywords and other useful files.
24 stars 27 forks source link

send nul on serial fails silently #3

Closed wimp1 closed 9 years ago

wimp1 commented 9 years ago

On X3 + Pinguino-Micro.. Printing nul character results in nothing.

char b; b=0; Serial2.printf("%c",b); // nothing b=10; Serial2.printf("%c",b); // works

rblanchot commented 9 years ago

%c prints ASCII code ASCII code 0 = Null or "End of String", so nothing is printed ASCII code 10 = Line Feed I see no error there. It compiles perfectly under Pinguino IDE v11.