//
// ESP32 Starbucks Logo 44x44 - 2 Panels
//

#include <Adafruit_NeoPixel.h>
#include <Adafruit_NeoMatrix.h>

#define PIN_A 2
#define PIN_B 4
#define DELAY 100

#define WIDTH 44
#define HEIGHT 44

// Define the two matrices each as 44x22
Adafruit_NeoMatrix matrix1 = Adafruit_NeoMatrix(44, 11, 1, 2, PIN_A,
  NEO_MATRIX_TOP   + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE +
  NEO_TILE_TOP     + NEO_TILE_LEFT   + NEO_TILE_ROWS   + NEO_TILE_PROGRESSIVE,
  NEO_GRB          + NEO_KHZ800);

Adafruit_NeoMatrix matrix2 = Adafruit_NeoMatrix(44, 11, 1, 2, PIN_B,
  NEO_MATRIX_TOP   + NEO_MATRIX_LEFT + NEO_MATRIX_ROWS + NEO_MATRIX_PROGRESSIVE +
  NEO_TILE_TOP     + NEO_TILE_LEFT   + NEO_TILE_ROWS   + NEO_TILE_PROGRESSIVE,
  NEO_GRB          + NEO_KHZ800);


//
// Define logo color array
//
uint16_t logoColors[WIDTH * HEIGHT];

long rawHexColors[WIDTH * HEIGHT] = {

0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfdfefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7a5d, 0xfefefe,
0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfdfefe,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097a5c, 0x097b5c, 0x519380, 0xfefefe,
0xfefefe, 0xf8fffd, 0x217760, 0x097b5c, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5e, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefdfe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7a5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfdfefd, 0x0a7b5d, 0xfefefe, 0x097b5d,
0x0a7b5d, 0xfefefe, 0x0a7356, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5c, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0f785b, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x94cdbf, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097a5c, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0x2b7c62, 0x0a7b5d, 0xfefefe, 0xfefefd, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xacd5ca, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x3c8973, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x047755, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfbfffe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x88b5a8, 0xfdfefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfdfefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x097a5c, 0xfefefe,
0xfefefe, 0xfefefe, 0x57a28d, 0x0a7b5d, 0x097b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xf6fdfb, 0x0a7b5d, 0x0a7b5e, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0x097a5c, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x097b5d, 0xfefefe, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfdfffe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe,
0xfefefe, 0x0a7b5c, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfafefd, 0xfefefe, 0x0a7b5d, 0xa0c6bb, 0x0a7b5d, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xffffff, 0xffffff,
0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe,
0x4a9681, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x75ae9d, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0xfefdfd, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x097a5c,
0x0a7b5d, 0x0a7b5d, 0x0a7a5c, 0xfdfefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe,
0x077a5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5c, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0x0a7b5d, 0x4e9782, 0xfefefe, 0xfefefe, 0xfefefe, 0x0d7356, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x017957, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x67a18e, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfdfefe, 0x0a7b5d, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x017654, 0xe4ecea, 0x0a7b5d, 0xd0e1da, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0x087c5b,
0x0a7a5d, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfdfefe, 0x0a7b5d, 0xfefefd, 0x097b5d, 0xe0e8e5, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097b5d, 0xfefdfe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xc8e0d8, 0xfefefe, 0xfefefd, 0xfcfffe,
0xfcfffe, 0xfdfdfd, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0xfefefe, 0xfdfefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d,
0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0x579884, 0xfefefe, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfcfefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xa6c7bd, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0xd9e6e1, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xd4ebe6, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff,
0xffffff, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097b5d, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 

0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xffffff, 0xdce7e4, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefdfe, 0x0a7b5e, 0x097a5c, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0x0a7a5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xffffff, 0xffffff,
0xfefefe, 0xfefefe, 0xfefdfe, 0xfefefe, 0xfefefe, 0x097c5c, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x097b5b, 0xfefefe, 0xfefefe, 0xfefdfe, 0xfefdfe, 0xfefefe, 0xffffff, 0xffffff,
0xfefefe, 0xfefefe, 0xfefefe, 0x0c7456, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0xfefefe, 0x0a7b5d, 0xfefefe, 0x0b7a5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0xfffdfe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a785c, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,
0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xcfece4, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7a5d,
0x09795a, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x448c77, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5e, 0x0a7b5d, 0xfefefe, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xd5f0e8, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfdfefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe,
0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5c, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xf5faf9, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfdfefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,
0xffffff, 0xfefefe, 0xfefefe, 0x097a5c, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe,
0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x04795a, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xfefefe, 0xf7fbfa, 0x0a7b5d, 0xfdfdfd, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe,
0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xb5d0c7, 0xfefdfe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x067859, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe,
0x0a7b5d, 0x0a7b5d, 0x9fc5b9, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0x0a7b5d, 0x30826a, 0xa0c7bc, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7a5c, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0b7658, 0xfdfefd, 0x0a7b5d, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0xfdfefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefdfd, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x097b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfdfdfd, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe,
0xfefefe, 0x0a7b5d, 0xdbebe6, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfdfdfd, 0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x097c5c, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfdfefe, 0xfefefe, 0xfefefe,
0xfefdfe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x097b5d, 0x4c947e, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefdfe, 0xfefefe, 0xfefefe,
0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d,
0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff,

0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xfefefe,
0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x2c7f66, 0x0a7b5d, 0x097c5d, 0xfefefe,  0x0a7b5d,
0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x1f8063,  0xfefefe,
0x0a7b5d, 0xfefefd, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xfefefe,
0xfefefe, 0xfafefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d,  0xfefefe,
0x087657, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xdfeeea, 0x0a7b5d, 0xfefefe, 0x0a7b5d,  0xfefefe,
0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfdfefe, 0xfefefe, 0xfefefe, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xd2e9e1, 0x0a7b5d,  0xfefefe,
0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d,  0x0a7b5d,
0xfefefe, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x5d9d89, 0x0a7b5d, 0xfefefe, 0x0a7b5d, 0xfefefe,  0x097b5d,
0x0a7b5d, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0x0a7b5d, 0xfefefe,  0x0a7b5d,
0xfefefe, 0x097b5d, 0x0a7b5d, 0x097b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0x38866f, 0xdee8e4, 0xfefefe, 0x0a7b5d, 0xfefefe,  0x0a7b5d,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe,  0x0a7b5d,
0x398d73, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe,  0x0a7b5d,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe,  0x0a7b5d,
0xfdfefe, 0xfefefe, 0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xfefefe, 0xfefefe, 0xfefefe,  0xfefefe,
0x0a7b5e, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0x0a7b5d, 0xfefefe, 0xfefefe,  0xfefefe,
0xfefefe, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xfefefe,
0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xfefefe, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff, 0xffffff,  0xffffff,
0xffffff, 0xffffff, 0xffffff, 0xffffff

};


//
// Setup function
//

void setup() {
  Serial.begin(15200);
  Serial.println("setup started.");

  matrix1.begin();
  matrix1.setBrightness(255);

  matrix2.begin();
  matrix2.setBrightness(255);

  buildLogo();
  Serial.println("setup complete.");
}


//
// Loop function
//

void loop() {

  for (int y=0; y<=(HEIGHT-1); y++) {
    for (int x=0; x<=(WIDTH-1); x++) {
      int colorIndex = ((y*WIDTH) + x) % (WIDTH*HEIGHT);
      if (y<22) {
          matrix1.drawPixel(x,y,logoColors[colorIndex]);
      } else {
          matrix2.drawPixel(x,(y-22),logoColors[colorIndex]);      	
      } 
    }
  }

  matrix1.show();
  matrix2.show();
  delay(DELAY);
    
}


void buildLogo() {

  int index=0;
  long colors;
  int colorR;
  int colorG;
  int colorB;

  for (int i=0; i<=((WIDTH*HEIGHT)-1); i++) {
    colors = rawHexColors[index];  
    colorR = colors / 0x10000;
    colors = colors % 0x10000;
    colorG = colors / 0x100;
    colorB = colors % 0x100;

    logoColors[index] = matrix1.Color(colorR, colorG, colorB);
    index++;
  }

}
X Coordinate -->
Y Coordinate -->