This may be a dumb question, but where is Serial.println() defined in the code?
It looks to me like Serial is defined in HardwareSerial.h here:
extern HardwareSerial Serial;
But I do not see a println() method. I see begin(),end(),available(),peek(),read(),write(), etc. But no print() or println(). Is println() a macro defined somewhere or something?
The HardwareSerial class extends the Stream class, which in turn extends the Print class; that's where the print() and println() functions are defined.