 
     default:
       {
-        if (DEBUG) {
-          Serial.println(F("  Unknown packet type, ignoring"));
-        }
+          debug_println(F("  Unknown packet type, ignoring"));
       }
       break;
   }

  wifiManager.setAPCallback(configModeCallback);
  
  if (!wifiManager.autoConnect(bulbLabel)) {
    Serial.println("failed to connect and hit timeout");
    //reset and try again, or maybe put it to deep sleep
    ESP.reset();
    delay(1000);
  }

  led_strip.begin();
  led_strip.setPixelColor(0, 0, 0, 255);
  led_strip.show();
  Serial.println("LEDS initalized");
  
  //Connecting is succeeded
  connectingSuccess();
 
  //set mac address
  WiFi.macAddress(mac);

  // set up a UDP and TCP port ready for incoming

 * Color = All red
 */
void configModeCallback () {
  debug_println("Entered config mode");
  //debug_println(WiFi.softAPIP());
  led_strip.setPixelColor(0, 255, 0, 0);
  led_strip.show();
}
