#include <FastLED.h>
uint8_t brightness_wifi = 255;
//App brightness value (0-255) - This can be changed by the app
uint8_t speed_wifi = 1;
//App speed value (0: low, 1: medium, 2: high) - This can be changed in the app
uint8_t features_wifi = 1;
//App speed value (0: subtle, 1: moderate, 2: intense) - This can be changed in the app
// These settings below should be variable, these are for 18x16 (x-Y) setup.
uint8_t X_BULBS = 6;
uint8_t Y_BULBS = 8;
#define NUM_LEDS 48
#define LED_TYPE WS2812B
#define COLOR_ORDER GRB
//#define MAX_LEDS 288
// Fastled defintions
#define LED_PIN 12
CRGB leds_plus_safety_pixel[ NUM_LEDS + 1];
CRGB* const leds(leds_plus_safety_pixel);
//CRGB leds[NUM_LEDS];
#include "c_mapping.h"
#include "c_SFX.h"
#include "c_Noise.h"
#include "p_Solid.h"
#include "p_Sparkle.h"
#include "p_Wave.h"
#include "p_Ripple.h"
#include "p_Fog.h"
//#include "p_Snake.h"
//#include "p_Saturn.h"
#include "c_patterns.h"
uint8_t brightness = 200;
void setup(){
FastLED.addLeds<LED_TYPE, LED_PIN, COLOR_ORDER>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
//FastLED.addLeds<WS2812B, LED_PIN, GRB>(leds, NUM_LEDS); // Add our LED strip to the FastLED library
Serial.begin(115200);
Serial.println("Serial monitor working!");
//DrawPixel(3, 1.6, brightness);
FastLED.setBrightness(brightness);
}
void loop() {
patterns[0].pattern(1,70);
FastLED.setBrightness(brightness);
FastLED.show();
}