int pinButton=4;
int LED=13;
void setup(){
  pinMode(pinButton, INPUT);
  pinMode(LED, OUTPUT);
}
void loop(){
  int stateButton=digitalRead(pinButton);
  if(stateButton==1){
  digitalWrite(LED, HIGH);
}else{
  digitalWrite(LED, LOW);}
  delay(20);
}