user14410: how do I compare coordinates I receive from the GPS module with the coordinates that I had hardcoded into the arduino, for example:
if (GPS reading <= hardcoded)
   movecarforward();
else
   movecarback();
the coordinates I get keep going up and down which makes it difficult for me to compare and excute the function below.Please help.....

user14234: You could check out the codes for this reverse geocaching project at https://learn.adafruit.com/reverse-geocache-engagement-box/software or the dog collar project at https://learn.adafruit.com/gps-dog-collar to get some help. For my GPS project I just wanted to display the distance and speed, so all I had to do was save the current location, subtract it from the previous location and add it to distanceTraveled. It'd be helpful if you could share your code here. 

14410: <p>how do I compare coordinates I receive from the GPS module with the coordinates that I had hardcoded into the arduino, for example:</p>

<p>if (GPS reading &lt;= hardcoded)
   movecarforward();
else
   movecarback();</p>

<p>the coordinates I get keep going up and down which makes it difficult for me to compare and excute the function below.Please help.....</p>
 14234: <p>You could check out the codes for this reverse geocaching project at <a href="https://learn.adafruit.com/reverse-geocache-engagement-box/software" rel="nofollow">https://learn.adafruit.com/reverse-geocache-engagement-box/software</a> or the dog collar project at <a href="https://learn.adafruit.com/gps-dog-collar" rel="nofollow">https://learn.adafruit.com/gps-dog-collar</a> to get some help. For my GPS project I just wanted to display the distance and speed, so all I had to do was save the current location, subtract it from the previous location and add it to distanceTraveled. It'd be helpful if you could share your code here. </p>
