int main(void)
{
//Initialize PORTD
//PD0 as Output
TRISB=0b00000000;
TRISC=0b10000000;
INTCON=0; // purpose of disabling the interrupts.
init_comms(); // set up the USART - settings defined in usart.h
i= strcmp(input,"OK");******* suppose before and after OK will have (nl) and (cr).how to include the (nl)(cr) into the comparison?
if (!i)
{
RB1=1;
DelayUs(500);
RB1=0;
DelayUs(300);
printf("at+cgmm\r");
}