  * 1000 / 2.933333 = 340.9
  * so an interval of 341
  */
-void show_cri() {
+void cri() {
   static unsigned long last = 0; 
   static long interval = 341; 
+  static byte n = 0;
   
   unsigned long now = millis();
   if (now - last > interval) {
-    last = now;    
-    for (byte n = 0; n < NUM_PIXELS; n++) {
-       strip.setPixelColor(n, 255, 0, 0);
+    last = now; 
+    n++;  
+    if (n >= NUM_PIXELS) {
+       n = 0; 
     }
-    strip.show();
+    pixel_cri = n;
   }
 }
 


Adafruit_NeoPixel strip = Adafruit_NeoPixel(NUM_PIXELS, PIN_NEO, NEO_GRB + NEO_KHZ800);



void setup() 
{


void loop() 
{
  cri();
  midtide();
  longtide();
  
  for (byte n = 0; n < NUM_PIXELS; n++) {
    if (n == pixel_cri) {
      r = 255;
    } else {
      r = 0; 
    }
    if (n == pixel_midtide) {
      g = 255;
    } else {
      g = 0; 
    }
    if (n == pixel_longtide) {
      b = 255;
    } else {
      b = 0; 
    }
    strip.setPixelColor(n, r, g, b);
  }
  strip.show();
}

/**
