I am trying to get the Serial1 object to work. I have connected a serial OLED display to my Mega. All is working perfectly. That stops when I try to connect the display to Serial1.
I have used Serial1 on the past (Arduino 0018) then it was working. An yes, I have selected the Mega board in the IDE.
What operating system are you on? Can you be more specific about what you change and what difference in behavior you see? Can you post a simplified but complete sketch that demonstrates the same problem?
HardwareSerialObj can have value Serial of Serial1. My 4D OLED driver is doing the same. That way I can provide the UART to use as a parameter.
My OLED is working perfectly when I use the Serial object. Serial1 doesn't work. I see that some objects are drawn on the OLED but some are not. To me it looks like that the Serial1 connect is unstable and loosing data?