// C++ code // /* Hi in morse code */ int counter; int counter2; void setup() { pinMode(LED_BUILTIN, OUTPUT); // H for (counter = 0; counter < 4; ++counter) { digitalWrite(LED_BUILTIN, HIGH); delay(500); // Wait for 500 millisecond(s) digitalWrite(LED_BUILTIN, LOW); delay(500); // Wait for 500 millisecond(s) } // space digitalWrite(LED_BUILTIN, LOW); delay(500); // Wait for 500 millisecond(s) // I for (counter2 = 0; counter2 < 2; ++counter2) { digitalWrite(LED_BUILTIN, HIGH); delay(500); // Wait for 500 millisecond(s) digitalWrite(LED_BUILTIN, LOW); delay(500); // Wait for 500 millisecond(s) } } void loop() { delay(10); // Delay a little bit to improve simulation performance }