void loop() { if (digitalRead(BUTTON) == LOW) { changeFireColor(); while (digitalRead(BUTTON) == LOW) { delay(10); } } fireEffect(); simulateSparks(); }