       actualPin++;
     }else{
       actualPin = 2;
+    }
+  }
+}
+
+/*
+ * Visualize battery power with leds as meter bar
+ * 
+ */
+void batteryMeter(){
+  // min 3200, max 4500
+  int bl = map(voltage,minVoltage,4500,0,8);
+  for(unsigned int i=0;i<9;i++){
+    if(i <= bl){
+      digitalWrite(ledPins[i], HIGH);
+    }else{
+      digitalWrite(ledPins[i], LOW);
+    }
+  }
+
+  if(arTime-reset > wait){
+    reset = millis();
+    if(batteryCounter < cycles){
+      batteryCounter++;
+    }else{
+      endCycle = true;
+      batteryCounter = 1;
+      LowPower.powerDown(SLEEP_4S, ADC_OFF, BOD_OFF);
     }
   }
 }

        delay( MORSE_UNIT_TIME );
    }
  }
}

/*

  if(arTime-reset > waitLynch){
    reset = millis();
    lynchON = !lynchON;
    if(lynchCounter < cycles){
      lynchCounter++;
    }else{
      endCycle = true;
      lynchCounter = 1;
      LowPower.powerDown(SLEEP_4S, ADC_OFF, BOD_OFF);
    }
  }
}

