GPS troubles
Van Dessel
Posts: 15
I'm currently working on a project that finds the latitude and longitude and stores the information on a data logger.
I got everything working properly except that the latitude and longitude isn't accurate enough; 72 dgrees longitude could be anywhere from boston to 100 miles in!!· I was wondering if this is just a limitation of my gps (PMB-248 GPS reciever from parallax) or is my code missing something.
I'm using GPS_IO_Mini_PNAV thats slightly different·as an object to read the incoming data and Numbers to create the string.
Thanks
I got everything working properly except that the latitude and longitude isn't accurate enough; 72 dgrees longitude could be anywhere from boston to 100 miles in!!· I was wondering if this is just a limitation of my gps (PMB-248 GPS reciever from parallax) or is my code missing something.
gps.readNEMA 'Finds an NEMA string lights(1)
USB.OpenForWrite(string("data.txt")) 'Writes to the data.txt file and records USB.WriteLine(string("longitude is...")) USB.WriteLine(num.ToStr(atoi(gps.longitude,3),Num#DEC3)) USB.WriteLine(string("Latitude is...")) USB.WriteLine(num.ToStr(atoi(gps.latitude,2),Num#DEC3))
I'm using GPS_IO_Mini_PNAV thats slightly different·as an object to read the incoming data and Numbers to create the string.
Thanks
Comments
--jc