Arduino, IoT made simple

Lesson 2: S.O.S. on Morse code

Using the same build we had on the past lesson, we'll program our board to send a message on Morse code-an S.O.S. signal, a very useful message!

As we learnt on our last lesson, we'll use the command "digitalWrite", which has two possible states: HIGH (which means "on", 100%) or LOW (which means "off" or 0%). Afer writing "digitalWrite" we'll use the command "delay" in order to establish the duration of the state acquired by executing the last order (if I tell my arduino to turn on its LED through the instruction "digitalWrite(13,HIGH);" and tell it to "delay(1000);" before writing "digitalWrite(13,LOW);", it will wait 1000 milliseconds-one second- in between the execution of the two instructions).