I am simply using the following code
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
// set the data rate for the HardwareSerial port
Serial2.begin(115200);
}
void loop() {
while (Serial2.available() > 0)
Serial.write(Serial2.read());
}
the Connection is as follows pin 16(D27) of esp32 - > Tx of Neo6M pin 17(D14) of esp32 - > Rx of Neo6M
Now I am not getting any data in the serial monitor. The same module works with arduino with software serial. I am completely new in this thing and office is keep asking about the progess.