 
 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);
    }


void setup ()
{
    /* Timer1.initialize(1000000);       // Initialize timer to 1s */
    /* Timer1.attachInterrupt(checktime);  // Attach funciton checktime to timer interupt */
    Serial.begin(57600);
    strip.begin();                  // Initialize NeoPixel object
    strip.show();                   // Initialize all pixels to '}ff'

    msLast = millis();

    DCF.Start();

