Hi,
I’ve connected the GPS on my arduino UNO via the grove shield.
The following code doesn’t send anything except the “Hello” message. Is it normal ?
I thought that the gps module need time to see the satellite so I’ve let it for 2 hours outside whit no result.
[code]#include <SoftwareSerial.h>
SoftwareSerial gps(2,3);
char data;
void setup()
{
Serial.begin(9600);
gps.begin(9600);
Serial.println(“Hello”);
}
void loop()
{
if(gps.available() > 0) {
Serial.println(“The GPS want to send something”);
data = gps.read();
Serial.print(data);
}
}[/code]
Thanks for help