random blue

This commit is contained in:
2019-02-03 22:34:29 +01:00
parent fac40519dc
commit bb993a6366
3 changed files with 44 additions and 2 deletions

1
led.c
View File

@ -20,6 +20,7 @@ tColor matrix[SIZE][SIZE] = {
{ OFF, OFF, OFF, OFF }
};
void ledSetMatrix(uint8_t col, uint8_t row, tColor color) {
if ((col < SIZE) && (row < SIZE)) {
matrix[col][row] = color;