Home › Forums › Microcontrollers › PIC Microcontroller › Retrieving UART data on LCD using PIC16F877A › Reply To: Retrieving UART data on LCD using PIC16F877A
June 18, 2015 at 8:19 pm
#11497
Participant
ok, here is the code:
UART1_Write_Text("AT");
UART1_Write(0X0D);
Delay_ms(1000);
UART1_Write_Text("ATE0");
UART1_Write(0X0D);
Delay_ms(1000);
UART1_Write_Text("AT+CMGF=1");
UART1_Write(0X0D);
Delay_ms(1000);
UART1_Write_Text("AT+CMGS=\"0772166326\"");
UART1_Write(0X0D);
UART1_Write_Text("Patient has fallen, provide assistance");
UART1_Write(0X1A);
UART1_Write(0X0D);
Delay_ms(4000);
