|
|
@ -122,6 +122,7 @@ void led_indicate_error(int cycles) { |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
npset(0xFF, 0x50, 0x00); |
|
|
|
npset(0xFF, 0x50, 0x00); |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
|
|
|
|
if (!forever) cycles--; |
|
|
|
} |
|
|
|
} |
|
|
|
npset(0,0,0); |
|
|
|
npset(0,0,0); |
|
|
|
#else |
|
|
|
#else |
|
|
@ -169,6 +170,7 @@ void led_indicate_warning(int cycles) { |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
npset(0x00, 0x00, 0x00); |
|
|
|
npset(0x00, 0x00, 0x00); |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
|
|
|
|
if (!forever) cycles--; |
|
|
|
} |
|
|
|
} |
|
|
|
npset(0,0,0); |
|
|
|
npset(0,0,0); |
|
|
|
#else |
|
|
|
#else |
|
|
@ -210,6 +212,7 @@ void led_indicate_warning(int cycles) { |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
npset(0x00, 0x00, 0x00); |
|
|
|
npset(0x00, 0x00, 0x00); |
|
|
|
delay(100); |
|
|
|
delay(100); |
|
|
|
|
|
|
|
if (!forever) cycles--; |
|
|
|
} |
|
|
|
} |
|
|
|
npset(0,0,0); |
|
|
|
npset(0,0,0); |
|
|
|
} |
|
|
|
} |
|
|
|