You wanna use the Arduino serial (UART) with a Mega 4808 board? No, problem. The Mega 4808 has three serial (UART) interfaces. Here you can read on which pins you can use the serial (UART) interface.
Using Serial on PIN PA0 and PA1. Here is a simple example code with a baudrate of 9600 bit/s.
On the pins you can see this signal:
Using Serial1 on PIN PC0 and PC1. Here is a simple example code with baudrate of 9600 bit/s.
On the pins you can see this signal:
Using Serial2 on PIN PF0 and PF1. Here is a simple example code with baudrate of 9600 bit/s.
On the pins you can see this signal:
You don’t know how to get the Mega 4808 running with Arduino. Click here and learn it.
Other posts about Mega 4808: