sultan.al3lama
Junior Member level 1
- Joined
- Mar 7, 2011
- Messages
- 15
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,427
hi sir,
thank you for you useful information
but i just want to know
i have to use the kbhit or not
also how to program the gps and get the data from it?
could you please help me
regards,
The result, you get the array of $GPRMC,....if(RCIF==1){
if(RCREG=='$') z=0;
if(z<=6) gps[z]=RCREG;
else if((gps[3]=='R')&(gps[4]=='M')&(gps[5]=='C')) gps[z]=RCREG;
if(z<89) z++;}
This is sample code using Hi-Tech. If you understand this, should give you idea to convert into CCS
The result, you get the array of $GPRMC,....
That is RCIF interrupt. So, the code automatically run when UART signal comes in. Previous post, I have give link full source code.Why you are not checking rcif, before reading each RCREG. I think it may be cause a logical error
hi sir,
thank you for you useful information
but i just want to know
i have to use the kbhit or not
also how to program the gps and get the data from it?
could you please help me
regards,
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?