       break;
     case 1:
       //firing HLT and RIMS
+      RIMSonDuration = RIMSwindow * setRIMSpct;
+      RIMSoffDuration = RIMSwindow - RIMSonDuration;   
+
       if ((!paused) && (currRIMS < setRIMS) && (currRIMS != 0))
       {
         //ensure HLT off

long previousMillis = 0;
long tempPrevMillis = 0;
//boolean BKon = false;
 
#define Neutral 0
#define Press 1

      break;
  }
  
  previousMillis = currentMillis;
  delay(100);
}

