Loading...
Welcome,
Guest
. Please
login
or
register
.
May 25, 2013, 02:05:23 am
| Arduino Forum :: Members :: acolyte
Show Posts
Pages: [
1
]
1
Community
/
Website and Forum
/
Serial.write(0x00) issue. Solved. Doc change suggestion.
on: March 10, 2012, 07:20:18 pm
I was quite perplexed when I tried to send a null byte (0x00) over the Serial interface. After reading
http://arduino.cc/en/Serial/Write
I tried
Code:
Serial.write(0x00);
and got this error returned..
call of overloaded 'write(int)' is ambiguous
It turns out that I had to do this...
Code:
Serial.write((byte)0x00);
This is something that might be nice to add to the reference docs.
Pages: [
1
]
Loading...