int buttonState = digitalRead(Button); if (buttonState == HIGH && millis() - lastDebounceTime > debounceDelay) { ButtonCounter++; lastDebounceTime = millis();