Apoth Posted December 12, 2021 Share Posted December 12, 2021 Hello! I started to build a home cockpit using original plane parts. Now i making a test for the radio channel selector for MiG 21. I learned that the original instrument is a "drum" where you can set a digital code for each position, eg 00100 means 4. This way i can set all 20 position in 5 wire (+ground of course) on my arduino board, and calculate the decimal value of the code: if(digitalRead(2) == HIGH) channel += 1; if(digitalRead(3) == HIGH) channel += 2; if(digitalRead(4) == HIGH) channel += 4; if(digitalRead(5) == HIGH) channel += 8; if(digitalRead(6) == HIGH) channel += 16; And at this point i stuck. I not found any interface to directly write the position number on the DCS-BIOS. Anybody can help me? Thanks! Apoth Link to comment Share on other sites More sharing options...
DeadMeat Posted December 12, 2021 Share Posted December 12, 2021 Have a read through this. Similar challenge was discussed I believe. My mods --> Mil-spec upgrades for TM Warthog, Hornet & Cougar grips | Mil-spec upgrade for TM Warthog throttle | Real Tornado gear switch modded into gear and hook lever switches Link to comment Share on other sites More sharing options...
Apoth Posted December 12, 2021 Author Share Posted December 12, 2021 5 minutes ago, DeadMeat said: Have a read through this. Similar challenge was discussed I believe. Wow! Seems this will work! Thanks! Link to comment Share on other sites More sharing options...
Apoth Posted December 12, 2021 Author Share Posted December 12, 2021 Working! Thanks @DeadMeat Link to comment Share on other sites More sharing options...
DeadMeat Posted December 13, 2021 Share Posted December 13, 2021 21 hours ago, Apoth said: Working! Thanks @DeadMeat No problem - thanks goes out to @Hansolo et. al for grokking these things out in the first place 1 My mods --> Mil-spec upgrades for TM Warthog, Hornet & Cougar grips | Mil-spec upgrade for TM Warthog throttle | Real Tornado gear switch modded into gear and hook lever switches Link to comment Share on other sites More sharing options...
Recommended Posts