hi, i am doing gps tracking device prject but i am unable to
receive any data from my EM-506 Module, i am using to the following
piece of code to capture data:
void Serial_Init()
{ TMOD = 0x20; TH1 =0xF4; SCON = 0x50; TR1 = 1;
}
rx_data(void)
{ char x; while(RI==0); x=SBUF RI = 0; //lcd("2"); return x;
}
i noticed that the programm is stuck because RI never changes his
state but when i measure the the voltage of p3.0 (RX pin of 8051) it
changes (&quo
↧