+#define APA102
+//#define WS2812
+//#define WS2801
+
 #include <ESP8266WiFi.h>
 #include <ESP8266WebServer.h>
 #include <WiFiUDP.h>

  Serial.println("]");

  //TODO control lights
  
  server.send(200, "text/plain", "done.");
  Serial.println("< done");

#include <ArduinoJson.h>
#include <WiFiManager.h>

#ifdef APA102
#include <Adafruit_DotStar.h>
#include <SPI.h>
#endif

#ifdef WS2801
#include "Adafruit_WS2801.h"
#include <SPI.h>
#endif

#ifdef WS2812
#include <Adafruit_NeoPixel.h>
#endif

extern "C" {  //required for read Vdd Voltage
#include "user_interface.h"
  // uint16 readvdd33(void);
}


#define NUMPIXELS 60

#define DATAPIN    13 // GPIO15 - MISO
#define CLOCKPIN   9 // GPIO14 - CLK

// ========== HANDLER INFO ==========
const char* AUTOCONFIG_ACCESSPOINT_NAME = "LightHandlerConfigAP";
const char* GEOMETRY = "Cube";
const int GEOMETRY_WIDTH = 8;
const int GEOMETRY_HEIGHT = 1;
