#include "FastLED.h"
#define DATA_PIN 3
#define LED_H 12
#define LED_W 12
#define NUM_LEDS LED_H * LED_W
CRGB leds[NUM_LEDS];
byte a[LED_H][LED_W][3];
void setup() {
delay(1000);
// Uncomment one of the following lines for your leds arrangement.
FastLED.addLeds<WS2811, DATA_PIN, RGB>(leds, NUM_LEDS);
//FastLED.addLeds<WS2812, DATA_PIN, RGB>(leds, NUM_LEDS);
// FastLED.addLeds<WS2812B, DATA_PIN, GRB>(leds, NUM_LEDS);
// FastLED.setBrightness(CRGB(255,255,255));
cleararray();
}
void loop() {
n1();
Move_Animation(-1, 0, 0, 0, 0, 100, 5); // Left Right
Move_Animation(0, 1, 0, 0, 0, 100, 5); // Up Down
//Move_Animation(0, 0, 1, 0, 0, 100, 5); // Half Left Half Right
Move_Animation(0, 0, 0, 1, 0, 100, 5); // Half Up Half Dawn
Move_Animation(0, -1, 0, 0, 0, 100, 5);
n3();
Move_Animation(-1, 0, 0, 0, 0, 100, 5); // Left Right
Move_Animation(0, 1, 0, 0, 0, 100, 5); // Up Down
//Move_Animation(0, 0, 1, 0, 0, 100, 5); // Half Left Half Right
Move_Animation(0, 0, 0, 1, 0, 100, 5); // Half Up Half Dawn
Move_Animation(0, -1, 0, 0, 0, 100, 5);
n4();
Move_Animation(-1, 0, 0, 0, 0, 100, 5); // Left Right
Move_Animation(0, 1, 0, 0, 0, 100, 5); // Up Down
//Move_Animation(0, 0, 1, 0, 0, 100, 5); // Half Left Half Right
Move_Animation(0, 0, 0, 1, 0, 100, 5); // Half Up Half Dawn
Move_Animation(0, -1, 0, 0, 0, 100, 5);
}