 #ifdef DEBUG
   deviceId.deviceId = "test";
 
-  wifiSettings.ssid = "ESP_AP";
-  wifiSettings.password = "testtest";
+  wifiSettings.ssid = "Stads-Lab";
+  wifiSettings.password = "initialkey4iot";
 #endif
 
   storage.read<Storage::DeviceId>(Storage::DEVICEID, &deviceId);

      Serial.print(".");
    }
  }
}

void loop() {
  // update the AnalogMultiButton object every loop
  buttons.update();

  if(buttons.isPressed(BUTTON_RECIEVE))
  {
     Serial.println("Receive message");
  } 

  // check if BUTTON_GREEN has just been pressed this update
  if(buttons.isPressed(BUTTON_SEND))
  {
    Serial.println("Message is Send");
  }

  // check if BUTTON_GREEN has just been pressed this update
  if(buttons.isPressed(BUTTON_RESET))
  {
    Serial.println("Reset Tako");
  }
  
  //Wifi accespoint code
  server.handleClient();

  Http::PingResult result = http.pingServer(deviceId.deviceId, version);

  

  delay(1000);
}


#define FASTLED_ESP8266_RAW_PIN_ORDER
#define FASTLED_ESP8266_NODEMCU_PIN_ORDER
#define FASTLED_ESP8266_D1_PIN_ORDER

#include "storage.cpp"
#include "http.cpp"
#include <ESP8266WiFi.h>
