dcs-bios / dcs-bios-arduino-library

Arduino Library to talk to DCS-BIOS
MIT License
61 stars 29 forks source link

Added an inverted potentiometer class #31

Closed HydroZA closed 4 years ago

HydroZA commented 4 years ago

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);