NMEAParser.h - Wiring Nano

I have written a sketch using this library and I have a very basic question:

To which terminal on the nano do I feed the NMEA0183 stream?

The documentation is silent. The Rx pin seems like a good guess given that the void loop is on:

}
void loop() {
while (Serial.available()){
parser << Serial.read();
}

But if this is right, I cannot use Serial Monitor to debug, etc.

What am I missing?

Variants of Software Serial will work to receive serial data for the parser.

I cannot use Serial Monitor to debug, etc.

If you use hardware serial to receive NMEA data, you can still print debug messages on the serial monitor, or send them to a terminal program.

Thank you. Will try then. I am just sending NMEA to the nano.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.