pic 16f913 with gsm modem | Microcontroller › PIC › pic 16f913 with gsm modem This topic has 1 reply, 2 voices, and was last updated 9 years, 7 months ago by AJISH ALFRED. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 27, 2013 at 11:42 am #2508 Arun SukumaranParticipant hi all, when i am compiling my code it showing the followig erors…. #include<pic.h> void tx_data(unsigned char); void gsm_cmd(unsigned char *); void power_ON(); void delay1(char); int check_ok( char *data); int i,j=0,ok; unsigned char *at_cmd=”AT”; unsigned char *call_cmd=”ATD8892279904;”; unsigned char enter=0x0D; unsigned char value=0; unsigned char const *data; void main() { TRISB=0x00; PORTB=0x00; TRISC=0x00; PORTC=0x00; LCDCON=0X00; SPBRG=0X19; TXSTA=0X24; RCSTA=0X90; PIE1=0X20; INTCON=0XC0; power_ON(); gsm_cmd(at_cmd); do { ok=check_ok(*data); } while(!ok); gsm_cmd(call_cmd); gsm_cmd(enter); } void power_ON() { RB2=0; RB1=0; RB1=1; delay(30); //RB1=0; } /*int led() { RC0=1; RC6=1; delay1(100); RC0=0; RC6=0; delay1(100); return 0; } void led2() { RC0=0; //delay(1000); //RC0=1; }*/ void gsm_cmd(unsigned char *string) { i=0; while(string!=’