//make the LED blink void blink(int time){ on(); // sets the LED on delay(time/2); // waits for a second off(); // sets the LED off delay(time/2); // waits for a second }