jrsteensen / OpenHornet-Software

Repo for all the software that brings OpenHornet to life!
Other
14 stars 8 forks source link

[Bug]: DCSBios Bug with SwitchMultiPosition call. #89

Open Arribe opened 4 months ago

Arribe commented 4 months ago

Discord Username

Arribe

Bug Summary

The built in function for SwitchMultiPosition call doesn't work properly when all of the positions are not connected to an Arduino pin. Due to not having debounce logic related to the PIN_NC logic.

Expected Results

When rotating the multi-position switches the output should reflect the position of the switch.

Actual Results

The output bounces betwen the pointed to position and the unconnected/default position identified by PIN_NC

Applicable File Names

Multiple - Sensor Panel is one. (Anywhere a rotary switch is used and one position is not wired to a GPIO pin.)

Release Version

v0.1.0

Category

DCS-BIOS

Applicable End Item(s)

Right Console (RCON)

Hardware is built to print & this software is tested on that hardware?

Miscellaneous Info

https://github.com/DCS-Skunkworks/dcs-bios-arduino-library/pull/56

kbastronomics commented 4 months ago

opened issue with DCS-BIOS https://github.com/DCS-Skunkworks/dcs-bios-arduino-library/issues/57

jrsteensen commented 4 months ago

opened issue with DCS-BIOS DCS-Skunkworks/dcs-bios-arduino-library#57

Consider submitting a PR to them to help them speed it along? 😄