Reply To: Retrieving UART data on LCD using PIC16F877A

Home Forums Microcontrollers PIC Microcontroller Retrieving UART data on LCD using PIC16F877A Reply To: Retrieving UART data on LCD using PIC16F877A

#11497

Guderz90
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);
string(7) "9898001"