Hi,
why when i connect Arduino with flash ans use print function, we need to write Serial.print(0,BYTE);
for example
Serial.print("aa);
Serial.print(0,BYTE);
if i dont use 'Serial.print(0,BYTE);' Flash will not receive anything.
Thanks
Hi,
why when i connect Arduino with flash ans use print function, we need to write Serial.print(0,BYTE);
for example
Serial.print("aa);
Serial.print(0,BYTE);
if i dont use 'Serial.print(0,BYTE);' Flash will not receive anything.
Thanks
Hmmm. Are you sure flash does not recieve anything? It could be that flash stores it as a char, and then it makes sense that you can't see 0, because it is nul.
Does flash require a null terminator on strings ?
I doubt you need to make sure it's there if it's needed.