const int REDLED = 5; // TEST LED, driven by pin number 5 void setup() // this code inside "setup" runs once at power up { pinMode(REDLED, OUTPUT); // configures pin 5 (now called REDLED) to be an output pin digitalWrite(REDLED, LOW); // Sets pin 5 (now called REDLED) to a LOW (0 volts) } void loop() // put your main code here, to run repeatedly: { digitalWrite(REDLED,HIGH); // Sets pin 5 to a HIGH level (5 volts) delay(500); // does nothing for 500 milliseconds digitalWrite(REDLED,LOW); // Sets pin 5 to a LOW level (0 volts) delay(500); // does nothing for 500 milliseconds }