//Button connected to pin 10 // LED connected to pin 8 void setup() { // put your setup code here, to run once: pinMode (8,OUTPUT); } void loop() { // put your main code here, to run repeatedly: digitalWrite (8,HIGH); delay (500); digitalWrite (8,LOW); delay (500); }