3. Setup
Define Pin 13 as LED
Set it as Output
Use a variable I
#define LED 13
int I;
void setup()
{
pinMode(LED,OUTPUT);
}
4. Loop
Blink led for 3 times. Each blink is for
100 msec
Blink led for 3 times. Each blink is for
300 msec now.
Remain in loop
This is SOS
dot-dot-dot-dash-dash-dash-dot-dot-dot......
6. Logic
Well, part of the program is same as
first except that it is executed only for
3 times
and then it moves to next step which is
same except that delay is more and
again repeated for three times
And then back to previous step
Result is morse code for SOS
7. Query
You hear Morse code for SMS almost
every day for last so many years.
Guess where?
8. Contact Me
Have more ideas, queries, suggestions?
Contact me at -
Vinay Chaddha
email : vinay@joy-n-freedom.com
SMS : 9811074026