/* Hello World BLANK */
const int LED = 8;
const int BUTTON1 = 4;
const int BUTTON2 = 5;
int STATO1=0;
int STATO2=0;
void setup() {
pinMode (LED,OUTPUT);
pinMode (BUTTON1,INPUT_PULLUP);
pinMode (BUTTON2,INPUT_PULLUP);
}
void loop() {
STATO1 = digitalRead(BUTTON1);
STATO2 = digitalRead(BUTTON2);
if(STATO1 == LOW)
{
digitalWrite(LED, HIGH);
//delay(10000);
}
if(STATO2 == LOW)
{
digitalWrite(LED, LOW);
}
}