int LED=14;
int Button=5;
int presentstate;
void setup(){
pinMode(LED,OUTPUT);
pinMode(Button,INPUT);
}
void loop(){
presentstate=digitalRead(5);
if(presentstate== HIGH){
digitalWrite(LED, HIGH);
}
else{
digitalWrite(LED, LOW);
}
}