Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
'Continue' is used to skip the remaining statements and the next iteration is done.
Eg:
for(;;){
------------
statement block 1;
if(condition to satisfied)
continue;
----------------------
statement block 2
}
Here 'statement block 2' is skipped when continue instruction is...
Since A1 is two bytes you need to write it in two successive locations.
eg:
EEPROM_Write(0x01,code1[0]); //store 'A'
EEPROM_Write(0x02,code1[1]); //Store '1'
You can use a loop to store all those values:
int i;
char code1[] = "A1B2C3D4E5F6G7H8";
for(i=0;i<strlen(code1);i++){...
I use the following function in my program to send sms using PIC18F4520. It works fine for me. I am not taking any response from the gsm module. If you want response you can just edit the code.
void Send_Sms(){
UART1_Init(9600);
Delay_ms(100);
UART1_Write_Text("AT")...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.