Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

GSM,,,Sim 900,,,msg receiving problem

Status
Not open for further replies.

fawadbutt

Member level 3
Member level 3
Joined
Oct 29, 2010
Messages
61
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,288
Location
Lahore, Pakistan, Pakistan
Visit site
Activity points
1,754
hy:
i m reading the GSM sim900 data on interupt after
AT+CMGR=1
but Garbage come on my lcd ,,,can any one chack my receiving code,,
uC 16f877A,,,,Compiler Hitech.
HTML:
//////////////Serial Interrupt Setting/////////////////////
//////////////////Rx Interupt////////////////////////////
void interrupt receive(void)
{	
	if(RCIE && RCIF)
	{
		unsigned int temp=RCREG;
		if(temp!=0x0D){Rx_Buff[Rx_Data]=temp;Rx_Data++;}
		else{Rx_Buff[Rx_Data]='\0';Rx_Data=0;String_C=1;}
		RCIF=0;		
	}
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top