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 cclk not working with pic 16f877a

Status
Not open for further replies.

Anand Kr. Singh

Newbie level 4
Joined
Jul 30, 2014
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
43
code did not response:

Code:
void sim_time()
{
unsigned char atcmd1[13]="AT+CCLK?\r";
 for(i=0;i<12;i++)
   {
      putchar(atcmd1[i]);
   }
putchar(buffer1[20]);
 putchar(0x0D);   // enter key
   //while(getchar()!=':');
   //while(getchar()!=0x0A);
   delay_ms(10000);
  // lcd_clear();
   for(i=4;i<20;i++)
   {   
      buffer1[i] = getchar();
   }
}


help me to solve the problem
 
Last edited by a moderator:

is anything displayed on the LCD?
is the UART receiver interrupt driven? if not you have probably lost all the information received as the UART receive buffer is only a two byte FIFO
 

yes i did not getting any display on lcd
i havnt use UART reeive buffer ..
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top