byte LED = 9;
byte button = 8;
int buttonState;

void setup() {
  pinMode(LED, OUTPUT);
  pinMode(button,INPUT);
  Serial.begin(9600);

}

void loop() {
 buttonState = digitalRead(button);
 if(buttonState==LOW){
  digitalWrite(LED,HIGH);
 }
Serial.println(buttonState);
delay(100);
}
$abcdeabcde151015202530fghijfghij