This class will allow users who have wired their potentiometers the wrong way round to simply invert the input in code, rather than having to re-solder everything the other way around. For example, it is called in your Arduino sketch as follows: DcsBios::PotentiometerInvEWMA<5, 128, 5> floodDimmer("FLOOD_DIMMER", FLOOD_LIGHT_PIN);
This class will allow users who have wired their potentiometers the wrong way round to simply invert the input in code, rather than having to re-solder everything the other way around. For example, it is called in your Arduino sketch as follows:
DcsBios::PotentiometerInvEWMA<5, 128, 5> floodDimmer("FLOOD_DIMMER", FLOOD_LIGHT_PIN);