Add order array to help with reassignment
This commit is contained in:
parent
40d303f7b5
commit
b5b2e62b1a
|
@ -1 +1 @@
|
||||||
297
|
298
|
||||||
|
|
18
src/animation.c
Normal file
18
src/animation.c
Normal 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
1
src/animation.h
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#pragma once
|
Loading…
Reference in a new issue