Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

AT commands

Status
Not open for further replies.

mos

New Member
Im trying to communicate PIC16F877A with a GSM modem using C progrmming language. But mi programme keeps giving me errors when i built it.
Can anyone help to correct erros.
#include <htc.h>
__CONFIG(XT & WDTDIS & PWRTDIS & BORDIS & LVPEN & WRTEN &
DEBUGEN & DUNPROT & UNPROTECT);
void init(void)
{
TRISA = 1b00000000;
}

void main(void)
{

int();
AT+IPR = 4800;
AT+CMGF = 1;
while (1) {
AT+CMGS = <67081594><somebody is coming><ctrl-z>
}


}
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top