void setup() {    Serial.begin(115200);
  pinMode(A0, INPUT);  }

void loop() { 
  int a = digitalRead(A0);

 Serial.println(a);

  // Slow down the sketch.   Also for debouncing the button.
  delay(100);
}