I write this code to test my new Neo6M GPS. Firstly, it works : the serial monitor wrote all NMEA sentences. So it indicates me that wiring was OK.
Then i try to test some code from TinyGPS librairy. After some inconclusives tests, i decide to come back to first code (below). And now i can't get the NMEA sentences, instead i get numbers series like
44
65
44
49
44
44
44
44
44
I think I changed settings, but i don't know how to come back to initials settings.
Have you an idea to fix this ?
#include "SoftwareSerial.h"
SoftwareSerial ss(2, 3); // RX, TX
void setup() {
// Open serial communications and wait for port to open:
Serial.begin(9600);
Serial.println("Connected to Neo 6M");
ss.begin(9600);
}
void loop() {
if (ss.available()){
Serial.print(ss.read());
}
}
Thank you for this anwser, but there is something I don't understand :
Why if put a delay, my answer in Serial Monitor doesn't print the whole string only one character by one character every second ?