int led = 12; // led name and interface void setup() { pinMode(led, OUTPUT); // interface mode } void loop() { digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level) delay(2000); // wait for two second digitalWrite(led, LOW); // turn the LED off by making the voltage LOW delay(2000); // wait for two second }