Blinking light (Number of blinks is optional) with rules
This program reads a number you type into the serial monitor and blinks the light, but it has some rules. If the number you type in is less than 5, the light blinks twice as many times as the number you typed in. Otherwise, the light blinks the number of times you typed in.