int ledPin = 7;
int button = 2;
bool m = false;


void setup() {
  // put your setup code here, to run once:
  pinMode(button, INPUT);
  pinMode(ledPin, OUTPUT);
  Serial.begin(115200);
}

void loop() {
  // put your main code here, to run repeatedly:
  int buttonState = digitalRead(button);
  Serial.println(buttonState);
  if (buttonState == LOW) {
    digitalWrite(ledPin, HIGH);
    delay(300);
    digitalWrite(ledPin, LOW);
  }
}