|
|
@ -129,6 +129,15 @@ void Indicator_Tick(void) |
|
|
|
else if (effect_time % 200 == 0) led_on(); |
|
|
|
else if (effect_time % 200 == 0) led_on(); |
|
|
|
else if (effect_time % 200 == 100) led_off(); |
|
|
|
else if (effect_time % 200 == 100) led_off(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
else if (active_effect == STATUS_WELCOME) { |
|
|
|
|
|
|
|
if (effect_time == 0) led_on(); |
|
|
|
|
|
|
|
else if (effect_time == 200) led_off(); |
|
|
|
|
|
|
|
else if (effect_time == 300) led_on(); |
|
|
|
|
|
|
|
else if (effect_time == 500) { |
|
|
|
|
|
|
|
led_off(); |
|
|
|
|
|
|
|
active_effect = STATUS_NONE; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
effect_time++; |
|
|
|
effect_time++; |
|
|
|
} |
|
|
|
} |
|
|
|