Add order array to help with reassignment

This commit is contained in:
fruchti 2020-07-16 18:43:40 +02:00
parent 40d303f7b5
commit b5b2e62b1a
3 changed files with 20 additions and 1 deletions

View file

@ -1 +1 @@
297 298

18
src/animation.c Normal file
View file

@ -0,0 +1,18 @@
#include "animation.h"
#include "led.h"
const unsigned int Animation_LEDOrder[LED_COUNT] =
{
// Red
0, 1, 2, 3, 4, 5,
// Green
6, 7, 8, 9, 10, 11,
// Blue
12, 13, 14, 15, 16, 17,
// Yellow
18, 19, 20, 21, 22, 23,
// Cyan
24, 25, 26, 27, 28, 29,
// Fuchsia
30, 31
};

1
src/animation.h Normal file
View file

@ -0,0 +1 @@
#pragma once