Fix several bugs

This commit is contained in:
Brooke
2025-04-28 00:00:41 -04:00
parent 39151185fb
commit 8692b71fd8
4 changed files with 24 additions and 5 deletions

View File

@@ -123,7 +123,10 @@ void loop() {
switch (run_rgbprog) {
case RGB_INIT: { // just started running a program
digitalWrite(PIN_LED_PWRENA, HIGH); // enable LED power supply,
delay(20); // wait a moment for LEDs to stabilize,
delay(15); // wait a moment for LEDs to stabilize,
/*for (uint16_t i = 0; i < (8000000UL / 4 / 1000) * 20; i++) {
asm("nop");
}*/
rgbprog_idx++; // select the next program in sequence,
if (rgbprog_idx >= PROG_COUNT) {