Code: Select all
#define RXD1 4
#define TXD1 5
void setup() {
// initialize both serial ports:
Serial.begin(115200); // note Serial is on the TX and RX pins NOT the USB
delay(2000);
Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);Code: Select all
#define RXD1 4
#define TXD1 5
void setup() {
// initialize both serial ports:
Serial.begin(115200); // note Serial is on the TX and RX pins NOT the USB
delay(2000);
Serial1.begin(9600, SERIAL_8N1, RXD1, TXD1);