updated the clock to show special I LOVE YOU date messages
tweaked the LED strip for more stability
This commit is contained in:
+4
-2
@@ -235,9 +235,10 @@ extern "C" void app_main(void)
|
||||
daywords.setColour(0x00, 0xFF, 0xFF);
|
||||
|
||||
temperaturewordmap tempwords = temperaturewordmap(&matrix);
|
||||
tempwords.setColour(0xA0, 0x00, 0xA0);
|
||||
|
||||
messagewordmap messagewords = messagewordmap(&matrix);
|
||||
messagewords.setColour(0xC0, 0x00, 0xC0);
|
||||
messagewords.setColour(0xA0, 0x00, 0x00);
|
||||
|
||||
|
||||
for (int cnt = 0; cnt < 10; cnt++)
|
||||
@@ -283,6 +284,7 @@ extern "C" void app_main(void)
|
||||
{
|
||||
clockwords.setWord(wordmap::Language_t::NL, *it, true);
|
||||
daywords.setWord(wordmap::Language_t::NL, *it, true);
|
||||
messagewords.setWord(wordmap::Language_t::NL, *it, true);
|
||||
}
|
||||
|
||||
// Get the temperature from sensor
|
||||
@@ -316,7 +318,7 @@ extern "C" void app_main(void)
|
||||
runninglightIndex < (MATRIX_NMBR_COLUMS - 1) ? runninglightIndex++ : runninglightIndex = 0;
|
||||
}
|
||||
}
|
||||
vTaskDelay(1000);
|
||||
vTaskDelay(100);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user