   int tod_idx, hour_idx, min_idx = 0;
 
   min_idx = minutes / 5;
-  PRINT_DEBUG("min_idx ");
-  PRINT_DEBUG(min_idx);
+//  PRINT_DEBUG("min_idx ");
+//  PRINT_DEBUG(min_idx);
   
   if (minutes > 30) {
   hour_idx = hours + 1;
   }
   else hour_idx = hours;
-  PRINT_DEBUG(" hour_idx ");
-  PRINT_DEBUG(hour_idx);
+//  PRINT_DEBUG(" hour_idx ");
+//  PRINT_DEBUG(hour_idx);
   
   if ((hours * 12 + minutes / 5) <= (0 * 12 + 15 / 5))
     tod_idx = 0;

          else if ((hours * 12 + minutes / 5) <= (23 * 12 + 45 / 5))
            tod_idx = 4;
            else tod_idx = 0;
  PRINT_DEBUG(" tod_idx");
  PRINTLN_DEBUG(tod_idx);

  for(int dispIdx = 0; dispIdx < 2; dispIdx++) {
    // Get the display bits

  }
  else if (KnobValue < 150){
    //rainbow!
//    rainbowCycle(map(KnobValue, 50, 149, 0, 50));
    PRINT_DEBUG("rainbow1 - delay ");
    PRINTLN_DEBUG(map(KnobValue, 50, 149, 0, 50));
    displayBuffer2(ledStates, map(KnobValue, 50, 149, 0, 50));
    
    
  }else if (KnobValue < 300){
    //rainbow!
    displayBuffer3(ledStates, map(KnobValue, 150, 299, 0, 50));
    PRINT_DEBUG("rainbow2 - delay ");
    PRINTLN_DEBUG(map(KnobValue, 150, 299, 0, 50));
    
  }
  else  if (KnobValue <1000){
    //solid colour
    int colour = map(KnobValue, 300, 999, 0, 255);
    PRINT_DEBUG("Show the time, solid colour ");
    PRINTLN_DEBUG(colour);
    displayBuffer(ledStates, colour);
   
  } 
  
  else {
    PRINTLN_DEBUG("Show the time, all white");
      displayBuffer_WHITE(ledStates);
  }
}

