m_mota
04-27-2015, 08:39 PM
Hi guys
I'm starting to build a home cockpit and before that, I'm testing some hardware using an Arduino Mega and link2fs interface. I already done the com radios and autopilot and I'm facing some problem to configure a rotary switch (5 positions) with magnetos. I'll build my cockpit in a Baron 58 basis so I need to separate the magnetos for each engine.
When I test the rotary switch with engine 1 (E01, E02, E03, E04 and E05) or engine 2 (E06, E07, E08, E09 and E10) the same thing happening: the positions are alternating. For example: when I select the "R" position the magneto selector in the FSX is alternating between "R" and "OFF" and the same thing is happening with other positions.
A curious thing is that the value from card "E02" is fixed.
I'm using an analog input (A0) to read the switch.
Please, anyone can give me a "light" about this issue ??
Thank you so much
I'm starting to build a home cockpit and before that, I'm testing some hardware using an Arduino Mega and link2fs interface. I already done the com radios and autopilot and I'm facing some problem to configure a rotary switch (5 positions) with magnetos. I'll build my cockpit in a Baron 58 basis so I need to separate the magnetos for each engine.
When I test the rotary switch with engine 1 (E01, E02, E03, E04 and E05) or engine 2 (E06, E07, E08, E09 and E10) the same thing happening: the positions are alternating. For example: when I select the "R" position the magneto selector in the FSX is alternating between "R" and "OFF" and the same thing is happening with other positions.
A curious thing is that the value from card "E02" is fixed.
I'm using an analog input (A0) to read the switch.
Please, anyone can give me a "light" about this issue ??
Thank you so much