//A blinking LED on digital IO pin 12 //plug an led with the long leg in pin 12 and the short leg in the GND pin void setup() { pinMode(12,OUTPUT); //set pin 12 to be an output } void loop() { digitalWrite(12,HIGH); //set pin 12 to be HIGH or 5V delay(1000); //wait 1 second digitalWrite(12,LOW); //set pin 12 to be LOW / Ground / 0V. delay(1000); //wait 1 second }