/*
El botón de la derecha enciende el LED y el de la zquierda lo apaga
*/
int buttonPin_i = 7; // the number of the pushbutton pin
int buttonPin_d = 8; // the number of the pushbutton pin
int ledPin = 12; // the number of the LED pin
// variables will change:
int buttonState_i = 0; // variable for reading the pushbutton status
int buttonState_d = 0; // variable for reading the pushbutton status
void setup() {
// initialize the LED pin as an output:
pinMode(ledPin, OUTPUT);
// initialize the pushbutton pin as an input:
pinMode(buttonPin_i, INPUT);
pinMode(buttonPin_d, INPUT);
}