#define button 4
int buttonvalue;
void setup() {
  // put your setup code here, to run once:
Serial.begin(115200);
pinMode(button, INPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
buttonvalue= digitalRead(button);
Serial.println(buttonvalue);
delay(100 );
}