#include <FastLED.h>
#define COLOR_ORDER GBR
#define CHIPSET WS2812
#define MAXBRIGHT 255
#define PIX_PIN 15
#define PIX_WIDTH 12
#define PIX_HEIGHT 12
#define PIXELS (PIX_WIDTH * PIX_HEIGHT)
CRGB pix[PIXELS];
int rgbFile[] = {
// 12 x 12 (r,g,b)
//r0 g0 b0
135, 158, 141, 130, 151, 136, 127, 154, 130, 147, 165, 145, 177, 196, 186, 160, 191, 175, 169, 201, 183, 169, 199, 187, 179, 206, 190, 178, 208, 182, 184, 210, 180, 177, 209, 171,
138, 158, 138, 131, 144, 129, 137, 144, 126, 153, 160, 143, 166, 180, 166, 178, 200, 185, 169, 200, 185, 173, 205, 190, 179, 211, 193, 179, 209, 191, 185, 213, 187, 173, 211, 174,
150, 166, 146, 143, 159, 145, 122, 146, 131, 149, 155, 141, 154, 176, 161, 173, 201, 187, 173, 211, 192, 139, 167, 163, 175, 212, 196, 166, 211, 187, 175, 210, 187, 172, 209, 176,
141, 164, 143, 151, 165, 151, 148, 159, 152, 132, 148, 140, 145, 166, 160, 170, 202, 187, 141, 169, 166, 67, 107, 121, 113, 143, 152, 170, 208, 189, 166, 206, 187, 172, 204, 173,
146, 166, 147, 143, 167, 152, 154, 175, 160, 152, 185, 164, 172, 192, 179, 151, 189, 176, 70, 116, 144, 124, 167, 205, 175, 220, 255, 162, 200, 187, 166, 199, 181, 161, 197, 170,
148, 161, 146, 147, 161, 152, 145, 171, 157, 155, 185, 175, 158, 192, 184, 135, 165, 153, 83, 102, 128, 82, 129, 178, 105, 151, 186, 164, 182, 192, 161, 190, 174, 153, 184, 162,
130, 158, 144, 147, 154, 143, 137, 167, 159, 142, 177, 166, 155, 185, 177, 117, 143, 129, 87, 128, 171, 165, 215, 255, 159, 196, 251, 98, 144, 153, 148, 170, 161, 128, 155, 139,
129, 145, 137, 128, 146, 138, 118, 162, 148, 135, 167, 164, 143, 178, 173, 58, 88, 78, 98, 135, 166, 150, 179, 234, 172, 219, 255, 88, 120, 128, 71, 115, 108, 106, 163, 157,
91, 110, 86, 103, 126, 126, 103, 152, 141, 142, 182, 174, 163, 207, 194, 75, 114, 115, 61, 107, 123, 75, 89, 159, 172, 221, 255, 186, 214, 231, 66, 86, 83, 105, 167, 154,
96, 105, 88, 83, 102, 96, 91, 114, 114, 93, 126, 115, 81, 133, 132, 109, 158, 152, 69, 99, 135, 114, 159, 214, 132, 174, 214, 72, 106, 99, 62, 78, 77, 119, 166, 153,
96, 88, 77, 67, 99, 102, 87, 111, 109, 75, 120, 113, 160, 195, 200, 77, 108, 80, 63, 69, 85, 102, 140, 169, 128, 172, 181, 82, 117, 117, 62, 84, 81, 93, 132, 104,
91, 97, 89, 63, 102, 96, 81, 99, 79, 63, 82, 59, 67, 84, 60, 51, 63, 92, 57, 87, 122, 89, 142, 193, 73, 104, 115, 83, 118, 95, 72, 103, 87, 112, 141, 113
};
void setup()
{
FastLED.addLeds<WS2812, PIX_PIN, COLOR_ORDER>(pix, PIXELS);
FastLED.setBrightness(MAXBRIGHT);
for (int i = 0; i < PIXELS; i++) {
pix[i] = CRGB(rgbFile[i * 3 + 0], rgbFile[i * 3 + 1], rgbFile[i * 3 + 2]);
}
FastLED.show();
}
void loop() {}