 
 // define led brighness here in percentage
 #define LED_BRIGHTNESS 5
-// for 82-100 ohm series resistor and small 3mm red/green through-hole
+// for 82-120 ohm series resistor and small 3mm red/green through-hole
 // led, 5 % seems fine.
 #define ledOutputValue 255*LED_BRIGHTNESS/100
 



long const int WaitIndicationInterval = 200;
unsigned long int lastWaitIndicationUpdate = 0;


long const int WaitBatteryInterval = 1000;
unsigned long int lastBatteryIndicationUpdate = 0;

void setup() {


}

void runBatteryIndication() {
  if(lastBatteryIndicationUpdate > WaitBatteryInterval) {
    lastBatteryIndicationUpdate = 0;
    // blink status led at known interval when battery is low.
    if (batteryLow) {
      if(batteryLedStatus) {
        analogWrite(batteryLed, ledOutputValue);
