monika varshney
Newbie level 5
pic gps
I am working on GPS. i have to read the GPS data through PIC microcontroller and display it on hyperterminal (for example). I have written a code for it but i m not getting the GPS output. I m able to communicate with PC through keyboard. But when i connect the GPS receiver it is not working. here is the some part of my code...
while(1)
{
read=get_ch();
msg_rec=read;
i++;
}
msg_rec='\0';
while(msg_rec[j]!='\0')
{
putch(msg_rec[j]);
j++;
}
where putch and get_ch are the user defined functions for receiving and transmitting.
can anybody suggest me where m i wrong.
I am working on GPS. i have to read the GPS data through PIC microcontroller and display it on hyperterminal (for example). I have written a code for it but i m not getting the GPS output. I m able to communicate with PC through keyboard. But when i connect the GPS receiver it is not working. here is the some part of my code...
while(1)
{
read=get_ch();
msg_rec=read;
i++;
}
msg_rec='\0';
while(msg_rec[j]!='\0')
{
putch(msg_rec[j]);
j++;
}
where putch and get_ch are the user defined functions for receiving and transmitting.
can anybody suggest me where m i wrong.