void setup()
{
pinMode(13, OUTPUT);
}
void loop()
{
digitalWrite(13, HIGH);
delay(1000); // Wait for 1000 millisecond(s)
digitalWrite(13, LOW);
delay(1000); // Wait for 1000 millisecond(s)
}
Use lots more output and wait blocks to create a Morse Code message with your arduino and LED.
A dot is normally about 500 milliseconds and a dash is 3 times as long as the dot or 1500 milliseconds
between each word should be a pause 7 times as long as the dot or 3500 milliseconds
between each letter of the word should be a pause of 3 times the dot or 1500 milliseconds
between symbols (dots and dashes) of the same letter is a pause of 500 milliseconds