Jump to content

TACAN mode selector switch - possible problems with 'new' DCS Dios script and solution


Recommended Posts

Posted (edited)

All, I have just spent a 'fun' couple of hours diagnosing some weird issues with the TACAN mode selector switch, where I found that the behaviour of the switch in game did not match the actual input. I was using the script from the newer DSC Bios documentation, and it was all over the place.

After checking and rechecking all the diagrams, the PCB for shorts or duff circuits, I decided to check the old DCS version to see if it was different, and it is. I loaded the old one on the nano in place of the new, and it works perfectly

So, if you are having issues with the TACAN mode selector, try using the old version to see if it helps you, I've copied both out below 

New DCS Bios script

const byte tacanModePins[9] = {PIN_0, PIN_1, PIN_2, PIN_3, PIN_4}
DcsBios::SwitchMultiPos tacanMode("TACAN_MODE", tacanModePins, 9);

 

Old DSC Bios script

const byte tacanModePins[5] = {PIN_0, PIN_1, PIN_2, PIN_3, PIN_4};
DcsBios::SwitchMultiPos tacanMode("TACAN_MODE", tacanModePins, 5);

Cheers

 

Les

Edited by lesthegrngo
extra comments
  • lesthegrngo changed the title to TACAN mode selector switch - possible problems with 'new' DCS Dios script and solution
Posted

Yeah, the new script expects 9 inputs instead of the real 5.

No wonder, must be a bug!

Regards, Vinc

Regards, Vinc

real life: Royal Bavarian Airforce

online: VJS-GermanKnights.de

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...