Hi all,
I'm porting my successful custom Teensy 3.2 board across to an ESP32-S3-WROOM-1 processor. I have attached an L80 GPS TX to the ESP32S3 pin 11 (RX) and L80 GPS RX to the ESP32S3 pin 10 (TX).
I am using the following very simple code to test the output of the L80 GPS:
#include <HardwareSerial.h>
HardwareSerial MySerial(2); // Using UART 2 with custom pins
const int MySerialRX = 11;
const int MySerialTX = 10;
#define BAUD 9600
void setup()
{
Serial.begin(115200);
MySerial.begin(BAUD, SERIAL_8N1, MySerialRX, MySerialTX);
Serial.println("Setup Finished");
}
void loop()
{
while (MySerial.available() > 0) {
char byteFromSerial = MySerial.read();
Serial.write(byteFromSerial);
}
}
Unfortunately I am only receiving the inverted ? symbol � as characters. I have tried all baud rates and have even changed gps modules with the same effect.
Am I doing something wrong in setting up the serial port?
Any help is greatly appreciated.