Serial.readBytes()

Osgeld:
I guess I could lie to it, it only happens in about a dozen places in my code, just kind of crappy that it says it will accept a byte when it wont .. might as well put boolean in there as well, since its 8 bits wide in avrgcc too (since we dont care to accurately document our functions around here)

ok thanks

I agree:

Serial.readBytes(buffer, length)
buffer: the buffer to store the bytes in (char[] or byte[])
length : the number of bytes to read (int)

They should have just named it Serial.readChars(buffer, length) instead.
Stupid software guys are stupid.

Lefty