 {
   maxPulseCount = val;
   EEPROM.update(EEPROM_ADDR_MAX_PULSE_COUNT, maxPulseCount);
-}
-
-void analogVal(int pin, int* pinValue, String pinName)
-{
-    *pinValue = analogRead(pin);  // read the input pin
-    // Serial.println(pinName + ":" + String(*pinValue));
-    digitalWrite(ledPin, *pinValue/16);
 }
 
 void pinVal(int pin, int* pinValue, String pinName)

  }
  
//   Serial.println(pinName + ":" + String(*pinValue));
}

void setPixels(int instantPulseCount)

{
//   pinVal(pin0, &pin0Value, pin0Name);
//   pinVal(pin1, &pin1Value, pin1Name);
//   pinVal(pin3, &pin3Value, pin3Name);
//   pinVal(pin4, &pin4Value, pin4Name);
//   pinVal(pin5, &pin5Value, pin5Name);
  pinVal(pin6, &pin6Value, pin6Name);

  EEPROM.update(EEPROM_ADDR_PULSE_COUNT, pulseCount);
  float percent = (float)pulseCount / (float)maxPulseCount;
  percentFull = (int)(percent * 100.0f);
