/* Program 2-2: Toggling multiple pins */ const int LED = 5; /* pin 5 LED */ const int Pin = 9; /* pin 9 */ void setup() { /* configure output pins for LED and Pin */ pinMode(LED, OUTPUT); pinMode(Pin, OUTPUT); } void loop() { digitalWrite(LED,HIGH); /* turn on the LED */ digitalWrite(Pin,HIGH); /* turn on the pin */ delay(750); /* delay 750 ms */ digitalWrite(LED,LOW); /* turn off the LED */ digitalWrite(Pin,LOW); /* turn off the pin */ delay(750); /* delay 750 ms */ }