Good morning,
I have a project about GPS (global positing system) and i realise the circuit ,the GPS receive the data correctly and i use a PIC16F876 for reading data and it's works but this pic sent wrong
this the programm
char uart_rd ; // declaration de variable tjrs avant void main ()
char dta[70];
void main() {
while (1)
{
UART1_Init(4800); // intialize UART module at 4800 bps
delay_ms(20);
if(UART1_Data_Ready()) //if data is ready in the buffer
{
UART1_Read_Text(dta,0x0A,1);
UART1_Write_Text(dta);
}
};
}
something wrong in the programm pllllz help me it's urgent thank u
-----