//LAB_2_2_SW
const int ledPin1 = 13;
const int buttonPin1 = 2;
const int buttonPin2 = 3;
int buttonState1 = 0;
int buttonState2 = 0;
void setup()
{
pinMode(ledPin1,OUTPUT);
pinMode(buttonPin1,INPUT);
pinMode(buttonPin2,INPUT);
}
void loop()
{
buttonState1 = digitalRead(buttonPin1);
buttonState2 = digitalRead(buttonPin2);
if (buttonState1 == LOW) { digitalWrite(ledPin1, HIGH); }
if (buttonState2 == LOW) { digitalWrite(ledPin1, LOW);}
}