 
   if(arTime-reset > WAIT){
     reset = millis();
-    if(batteryCounter < cycles){
+    if(batteryCounter < NUM_CYCLES){
       batteryCounter++;
     }else{
       endCycle = true;

 */
void batteryMeter(){
  // min 3200, max 4500
  int bl = map((int)voltage,minVoltage,4500,0,8);
  if(DEBUG){
    Serial.println(bl);
  }

void readLDR(){
  LDR = analogRead(LDR_PIN);

  if(LDR < LDR_MIDNIGHT){
    weAreTheNight = true;
  }else{
    weAreTheNight = false;
