 #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 int NUMBER_OF_LIGHTS = 96;
 const char* GEOMETRY = "Cube";
 const int GEOMETRY_WIDTH = 8;
 const int GEOMETRY_HEIGHT = 1;

    root["handler"] = ipstr;
    root["handlerID"] = ESP.getFlashChipId();
    root["handlerInfo"] = HANDLER_INFO;
    root["handlerNumberOfLights"] = NUMBER_OF_LIGHTS;
    root["handlerType"] = 0;
    root["handlerVersion"] = VERSION;
    root["handlerOffsetX"] = 0;

  
  server.begin();
  Serial.println("HTTP server started");

  strip.begin();
}

void loop()
