We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
void gps ()
{
unsigned char rx_data() ;
unsigned int LAT[9], LON[10];
unsigned char Temp, i;
if (rx_data() == ‘$’)
if( rx_data() == ‘G’)
if (rx_data() == ‘P’)
if (rx_data() == ‘R’)
if (rx_data() == ‘M’)
if (rx_data() == ‘C’)
while (rx_data() != ‘,’);
/*checking for “A” condition*/
Temp = rx_data();
if (Temp == ‘A’||Temp == ‘V’)
/*latitude values*/
LCDCmd (0x80);
for (i=0; i<9; i++)
LAT[i] = rx_data();
LCDData (LAT[i]);
}
/*longitude values*/
LCDCmd (0xc0);
for (i=0; i<10; i++)
LON[i] = rx_data();
LCDData (LON[i]);
}}}}}}
Could you tell why this error is cuming and solution on it?
Show the full error message - copy & paste it.
Tell us which line it relates to