xPlane-11 plugin treats all inputs as the same
Opened this issue · 1 comments
danilorodrigues128 commented
To Reproduce
Steps to reproduce the behavior:
- Set up a basic potentiometer circuit (connected to the A0 pin)
- Download the last release of openSimIO (v0.2.0)
- Send the code to Arduino Uno
- Copy the plugin to the xPlane-11 folder
- Create the config.txt file (USB version)
- Open xPlane-11 and start a new flight
- Select "Plugins > openSimIO > Show input status"
- Turn the potentiometer
- Verify that all inputs will change together (despite the potentiometer being connected only to the A0 pin)
Expected behavior
Only the roll (A0) input should have changed when turning the potentiometer.
Desktop (please complete the following information):
- OS: Windows 11
- Arduino IDE 2.2.1
Arduino (please complete the following information):
- Device: Uno
- Serial
Additional Information
I have tested the Arduino code in TIME_DEBUG mode and apparently the Arduino is reading the potentiometer correctly. I would say that the problem is in the plugin.
condac commented
Is there anything connected to the other analog pins? there is a known fenomenom where the analog signals are so sensitive that they pick up signals from pins near them if they are not connected and "hanging in the air". This looks like that...