// set the pins // the pushbutton pin number const int ledPin = 3; // the LED pin number //set button as an variables int buttonState = 0; // pushbutton status as a variable void setup() { // initialize the LED pin as an output: pinMode(ledPin, OUTPUT); // initialize the pushbutton pin as an input: } void loop() { // read the state of the pushbutton value: // check the pushbutton condition digitalWrite(ledPin, HIGH); // turn LED on: delay (100); }