Code.ino
//Translating the sentence
for (int i = 0; i < Sentence.length(); i++){ //Action that will be repeated for each character in the sentence
  if (Sentence[i] == 'A' || Sentence[i] == 'a') { //If the character is A o a, this action will be made
    Serial.println("A = . _"); //Prints the letter and the morse code
    dot(); //Calls the function "dot" to create a the "." with the led
    line(); //Calls the function "line" to create a the "-" with the led
  } 
  else if (Sentence[i] == 'B' || Sentence[i] == 'b') { //If the character is B or b, this action will be made
    Serial.println("B = _ . . . "); //Prints the letter and the morse code
    line(); //Calls the function "line" to create a the "-" with the led
    dot(); //Calls the function "dot" to create a the "." with the led
    dot(); //Calls the function "dot" to create a the "." with the led
  }  
}