First, I echo others' recent kudos for your continued great work on this platform!
Now for a hopefully simple question that I'm almost embarrassed to ask:
How do I use the additional hardware serial ports on the Arduino Mega2560?
I perused through the UART.hh and UART.cpp files, and I see code for what looks like uart1,2,3 inside of: #elif defined(__ARDUINO_MEGA__)
But simply calling uart1.begin(9600); didn't compile.
I did get this blip of code to compile at least (not sure if it really works or not):
static char ibuffer1[UART::BUFFER_MAX];
static IOBuffer ibuf1(sizeof(ibuffer1), ibuffer1);
static char obuffer1[UART::BUFFER_MAX];
static IOBuffer obuf1(sizeof(obuffer1), obuffer1);
UART uart11(1, &ibuf1, &obuf1);
...but I wasn't sure if all of that was necessary if there is built-in support for simply calling: uart1.begin(9600);, etc.
Also, I had to use "uart11" as "uart1" complains about: "multiple definition of `uart1'"
Am I missing something simple?
Also, I'm curious as to the status of SoftwareSerial-like support... :-)
Thanks in advance for any help!