public void setAllLedStatesToRepresentInputValue()
{
    
    for (LED led : ledArray) {
        led.setState(LED.OFF);
    }
    
    // if input value is less than lowest step, no leds are lit
    if (highestLitLedIndex == -1) {
        return;
    }
    
    for (int i = 0; i < ledArray.length; i++) {
        
        if (i <= highestLitLedIndex) {
            ledArray[i].setState(LED.ON);
        }
        
    }// end of for (int i = 0; i < ledArray.length; i++)
    
}// end of LEDGroup::setAllLedStatesToRepresentInputValue