Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add reverse option to potentiometers.h #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JDowland
Copy link

Added an overload of PotentiometerEWMA method to allow reversing the map, equivalent behavior to Switch2Pos. Updated pollInput method to match. Motivated by use of public circuit board designs that don't allow reversing polarity of potentiometers without redesigning/refabricating board.

Added an overload of PotentiometerEWMA method to allow reversing the map, equivalent behavior to Switch2Pos. Updated pollInput method to match. Motivated by use of public circuit board designs that don't allow reversing polarity of potentiometers without redesigning/refabricating board.
@talbotmcinnis
Copy link

FYI this was contributed to the old and unsupported dcs-bios branch. And even better news, the latest project already includes the ability to reverse itself. Check it out at https://github.com/DCSFlightpanels/dcs-bios-arduino-library. Hit me up on discord if you have any questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants