|
@@ -141,34 +141,36 @@ void new_Second(void) {
|
|
|
* On/off symbols on IN-15 tube.
|
|
|
*/
|
|
|
void in15Off(void) {
|
|
|
- //IN15_OFF;
|
|
|
+ IN15_OFF;
|
|
|
//TUBE_C_OFF;
|
|
|
- SymbolIN15 = sym_Off;
|
|
|
+ //while (SymbolIN15 != sym_None) {}
|
|
|
+ //SymbolIN15 = sym_Off;
|
|
|
}
|
|
|
|
|
|
void in15Minus(void) {
|
|
|
//IN15_OFF;
|
|
|
//IN15_Minus;
|
|
|
//TUBE_C_ON;
|
|
|
+ while (SymbolIN15 != sym_None) {}
|
|
|
SymbolIN15 = sym_Minus;
|
|
|
}
|
|
|
|
|
|
void in15Plus(void) {
|
|
|
- //IN15_OFF;
|
|
|
+ IN15_OFF;
|
|
|
//IN15_Plus;
|
|
|
//TUBE_C_ON;
|
|
|
SymbolIN15 = sym_Plus;
|
|
|
}
|
|
|
|
|
|
void in15Percent(void) {
|
|
|
- //IN15_OFF;
|
|
|
+ IN15_OFF;
|
|
|
//IN15_Percent;
|
|
|
//TUBE_C_ON;
|
|
|
SymbolIN15 = sym_Percent;
|
|
|
}
|
|
|
|
|
|
void in15P(void) {
|
|
|
- //IN15_OFF;
|
|
|
+ IN15_OFF;
|
|
|
//IN15_P;
|
|
|
//TUBE_C_ON;
|
|
|
SymbolIN15 = sym_Pressure;
|
|
@@ -384,9 +386,9 @@ static void HSV2LED(const uint8_t hue, const uint8_t val) {
|
|
|
*/
|
|
|
void showTime(void) {
|
|
|
uint8_t hue;
|
|
|
- //MinusFadeIn();
|
|
|
- in15Minus();
|
|
|
- RTOS_SetTask(in15Off, 500, 0); // MinusFadeOut
|
|
|
+ //MinusFadeIn();
|
|
|
+ in15Minus();
|
|
|
+ RTOS_SetTask(in15Off, 500, 0);
|
|
|
|
|
|
switch (LightingMode) {
|
|
|
case light_Rainbow:
|