Microcontroller › AVR › By using GSM SIM 300M and Atmega8 , How to write coding for sending SMS to 3 Persons when any one the port pin gets high …? › Hi,Learn about GSM
November 2, 2012 at 6:05 am
#8709
AJISH ALFRED
Participant
Hi,
Learn about GSM interfacing from engineers garage itself.
/embedded/pic-microcontroller-projects/interface-gsm-module-call-message-circuit
Now all you’ve to do is yo wait till a pin goes high before executing the message sending code.
void main ()
{
while (1)
{
while (PIN==0); //program will loop in this line itself only until the pin become logic high
/********************
Your message sending code
********************/
}
}
I hope this helps.