Hello, can anyone help me with examples to communicate with the hardware UART1 on RAK4631 in the Arduino IDE?
I see example of SoftwareSerial but it uses A0 and A1 for a software serial port. I am already using A0/A1 for other purpose. So, I want to use the built-in hardware UART1 (pins RX1/TX1 available on RAK5005-O) to communicate with external serial device but I can’t find any examples of implementation.
Is it as simple as using the Serial() commands? i.e. Serial.begin(baud_rate); Serial.printLine("___"); etc?
Also is UART1 tied to the USB Serial, so that Serial being sent to the USB Serial Monitor in Arduino also get sent over the UART1 pins?
Ultimate goal is to communicate with SIM7000G LTE module which uses 2-pin serial communication.
Thank you for any pointers!