if (GPSSerial.gpsData.Count > 0)
{
textBox1.Text = GPSSerial.gpsData.Dequeue();
string r = textBox1.Text;
string[] values = r.Split(',');
// string newstring = r.Remove(2,6); REMOVE FUNCTION
if (values[0] == "$GPRMC")
{
textBox2.Text = values[3];
textBox3.Text = values[5];
}
}
Textbox 2 and 3 both output the latitude and longitude of the gps position. They are currently displayed in a long string.
How do i insert a degrees character so it displays readable lat and long values?
2007-01-21
06:08:59
·
1 answers
·
asked by
Alex M
1
in
Computers & Internet
➔ Programming & Design