 
 void loop ()
 {
+    unsigned long msNow = millis();
+    if((msNow - msLast > 999) || (msNow < msLast)) 
+    {
+        msLast= millis();
+        checktime();
+    }
 }
 
 void checktime()

    {
        lightWar(cForeground);
    }
    if(minutemod5 == 0 || minutemod5 == 3 || minutemod5 == 4)
    {
        lightIst(cForeground);
    }

//   NEO_KHZ400  400 KHz (classic 'v1' (not v2) FLORA pixels, WS2811 drivers)
//   NEO_GRB     Pixels are wired for GRB bitstream (most NeoPixel products)
//   NEO_RGB     Pixels are wired for RGB bitstream (v1 FLORA pixels, not v2)
Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUMPIXEL, LEDPIN, NEO_GRB | NEO_KHZ800);

unsigned int i = 0;
static unsigned long msLast = 0;

typedef uint32_t Color;
Color cBlack = 0;
