   tcp.begin();
 
   NeoPixelLightStick.black(NeoPixelLightStick._maxPixelCount);
+  delay(500);
+
+  for (int i = 0; i < 4; i++) {
+    byte octet = WiFi.localIP()[i];
+    Serial.println(octet);
+    if (octet / 100 > 0) {
+      NeoPixelLightStick.setColor(i * 9, 255, 0, 0);
+    } else {
+      NeoPixelLightStick.setColor(i * 9, 255 / 127, 0, 0);
+    }
+    octet = octet % 100;
+    showDigit(0, 255, 0, octet / 10, i * 9 + 1);
+    octet = octet % 10;
+    showDigit(0, 0, 255, octet, i * 9 + 5);
+  }
+  NeoPixelLightStick.setColor(4 * 9 + 1, 255/ 6, 0, 0);
+  NeoPixelLightStick.setColor(4 * 9 + 2, 0, 255/ 6, 0);
+  NeoPixelLightStick.setColor(4 * 9 + 3, 0, 0, 255/ 6);
+  NeoPixelLightStick.show();
+
+  pinMode(BUTTONPIN, INPUT_PULLUP); 
   
   Serial.println(F("initialized"));
 }

  NeoPixelLightStick.setColor(value % maxValue, r, g, b);
  NeoPixelLightStick.setColor((value + maxValue - 1) % maxValue, 0x00, 0x00, 0x00);
  NeoPixelLightStick.show();
}



#define STAT_ENDED 2
#define STAT_DELAY 3

#define BUTTONPIN 0


int height;
int width;
