Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
your program is more complex.. it can be written is a very simple way... just wait for $ symbol and when $ synbol is got then store the incoming data in a array.. and display it... count the number of characters you need to display and define the size of the array....
Dont do the conversion.. take the data as it is and print it.....
just print it or store it and print it ... do do any circus with the data.......
void receive_data()
{
info[check++]=SBUF; //Read SBUF
if(check<7) //Condition to check the required data
{
if(info[check-1]==test[check-1])
check=0;
}
RI=0;
}
forget the modem..... connect board to pc and from hyperterminal see if you get the data on LCD properly or not at 2400 or whatever baudrate you have set... if you get data properly on lcd use the same program to gps also........
put a check in receive function and check the incoming character matches with $
if $ comes then only print the data or else dont print... do this exercise and let me know..
if it works fine then change the baud rate to gps and connect it... the same program should work there also....