#include <FastLED.h>
#include <avr/pgmspace.h>

#define LED_PIN  3

#define COLOR_ORDER GRB
#define CHIPSET     WS2811

#define BRIGHTNESS 255

int sp = 50;   // speed

// Params for width and height
const uint8_t kMatrixWidth = 16;
const uint8_t kMatrixHeight = 16;
#define NUM_LEDS (kMatrixWidth * kMatrixHeight)
CRGB leds[ NUM_LEDS];
CRGB A[kMatrixWidth][kMatrixHeight];

const long ledarray01[] PROGMEM = {
				0x00FF00FF, 0x00FFFFFF, 0x00FFFFFF, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 
				0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x0000FFFF, 0x0000FFFF, 
				0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x000000FF, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
				0x0000FF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 
};

const long ledarray0[] PROGMEM = {
				0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 
				0x00FFFFFF, 0x00FFFFFF, 0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 0x00FFFFFF, 0x00000080, 
				0x00000080, 0x00000080, 0x00FFFFFF, 0x00FFFFFF, 0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 
				0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 0x00FFFFFF, 0x00000080, 0x00000080, 0x00B0B000, 
				0x00B0B000, 0x00B0B000, 0x00000080, 0x00000080, 0x00FFFFFF, 0x00FFFFFF, 0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 
				0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 0x00FFFFFF, 0x00000080, 0x00000080, 0x00B0B000, 
				0x00000080, 0x00000080, 0x00FFFFFF, 0x00FFFFFF, 0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 0x00FFFFFF, 0x00000080, 
				0x00FFFFFF, 0x00FFFFFF, 0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 0x00FF00FF, 0x00FFFFFF, 
				0x00FF00FF, 0x00FF00FF, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FF0000, 0x00FF0000, 0x000000FF, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x000000FF, 0x00FF0000, 0x00FF0000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x00FF00FF, 
};

const long ledarray1[] PROGMEM = {
				0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 
				0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 0x00FF00FF, 
				0x00FFFF00, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x0000FF40, 0x00FFFF00, 
};

const long ledarray3[] PROGMEM = {
				0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FF00FF, 
				0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FFFF00, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 
				0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF00, 
				0x00FFFF00, 0x00FFFF44, 0x00FFFF44, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 
				0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FFFF00, 
				0x0000FF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 
				0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 
				0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 
				0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 
				0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 0x00FF0000, 0x00FF0000, 
				0x00FF0000, 0x00FF0000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 
				0x00FF0000, 0x00FF0000, 0x00FF0000, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF0000, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FFFF44, 0x00FFFF44, 0x00FFFF44, 0x00FFFF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x0000FF00, 0x00FF0000, 0x00FF0000, 0x00FF0000, 0x00FF0000, 
};

const long ledarray4[] PROGMEM = {
				0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF44, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF00, 0x00FFFF44, 0x00FFFF00, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00FF00FF, 0x00FF00FF, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00FFFF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF00, 0x00FFFF00, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00FF00FF, 
				0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00FFFFFF, 0x00000000, 0x0000FF00, 0x00FFFF00, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x0000FF00, 0x00000000, 0x00000000, 0x00FFFFFF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
};

const long ledarray5[] PROGMEM = {
				0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 
				0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 
				0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 
				0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 
				0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 
				0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x000000FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 
				0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FF00FF, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00FFFF44, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000FF, 0x00000000, 
};


void setup() { 
  FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS);
  FastLED.setBrightness( BRIGHTNESS );
}

void loop()
{
  ReadArray(ledarray0);
  FastLED.show();
  delay(sp);
  MoveRight(3);
  delay(500);
  MoveLeft(3);
  delay(500);
  ReadArray(ledarray1);
  FastLED.show();
  delay(sp);
  MoveRight(3);
  delay(500);
  MoveLeft(3);
  delay(500);
  ReadArray(ledarray3);
  FastLED.show();
  delay(sp);
  MoveRight(3);
  delay(500);
  MoveLeft(3);
  delay(500);
  ReadArray(ledarray4);
  FastLED.show();
  delay(sp);
  MoveRight(3);
  delay(500);
  MoveLeft(3);
  delay(500);
  ReadArray(ledarray5);
  FastLED.show();
  delay(sp);
  MoveRight(3);
  delay(500);
  MoveLeft(3);
  delay(500);
}