Add LED order
This commit is contained in:
parent
b5b2e62b1a
commit
659fdb9004
|
@ -1 +1 @@
|
||||||
298
|
310
|
||||||
|
|
|
@ -1,18 +1,8 @@
|
||||||
#include "animation.h"
|
#include "animation.h"
|
||||||
#include "led.h"
|
|
||||||
|
|
||||||
const unsigned int Animation_LEDOrder[LED_COUNT] =
|
const unsigned int Animation_LEDOrder[LED_COUNT] =
|
||||||
{
|
{
|
||||||
// Red
|
19, 27, 21, 13, 0, 4, 24, 8, 12, 15, 6, 5, 28,
|
||||||
0, 1, 2, 3, 4, 5,
|
29, 17, 3, 18, 26, 22, 10, 16, 20, 30, 1,
|
||||||
// Green
|
25, 2, 14, 31, 7, 11, 9, 23
|
||||||
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 +1,5 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include "led.h"
|
||||||
|
|
||||||
|
extern const unsigned int Animation_LEDOrder[LED_COUNT];
|
||||||
|
|
Loading…
Reference in a new issue