Page 1 of 1

Serial1 on BPI-Leaf-S3

Posted: Fri Apr 19, 2024 5:36 pm
by zanivanov
I have a problem with Serial1, I am trying to get it working on 18(RX1) and 17(TX1) and unfortunately I am not able to get it working. Can you advise me what to do with it?

Code: Select all

#include <HardwareSerial.h> HardwareSerial SerialPort(1); // use UART1 SerialPort.begin(115200, SERIAL_8N1, 18, 17);

Re: Serial1 on BPI-Leaf-S3

Posted: Sat Apr 20, 2024 3:11 am
by lbernstone
Any reason you can't just use Serial1? Example code
Note that the RX on the esp needs to connect to the TX on the serial device.