updated the clock to show special I LOVE YOU date messages

tweaked the LED strip for more stability
This commit is contained in:
Matthias Mitscherlich
2024-03-29 10:42:33 +01:00
parent 22cdad69fc
commit 9cbd2232a3
4 changed files with 43 additions and 9 deletions
+4 -2
View File
@@ -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);
}
}