"Where did my pet go?" If you have a pet, you've probably asked this question at least once. One moment they're playing ...
It counts down from 5 to 1 using a while loop. On each step: It prints "Count: N" to the Serial Monitor. It blinks the on-board LED N times using a function called flashLED(). When the countdown ...
What happens if you forget to write Serial.begin(9600) in setup()? The Serial Monitor will not communicate properly with the Arduino, so the output may not appear or may display unreadable characters.