-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TACAN mode selector switch - possible problems with 'new' DCS Dios script #47
Comments
we need more info. |
Apologies, should have put that in! The aircraft is A10C, the faulty DCS Bios is the latest one that I downloaded here https://github.com/DCSFlightpanels/dcs-bios - I can't see a version number the correct code comes from the old offline version in HTML form which will not allow me to paste here so all I can do is paste a text copy of the entire TACAN page - sorry if that's not right, however the part of the script that needs changing is the one above Right Channel SelectorA-10C/TACAN_1 |
When I click on control reference, this is what I get for A10C - TACAN
…On Wed, Jul 5, 2023 at 10:00 PM Sven ***@***.***> wrote:
i looked the HTML ref page and bort booth look good to me like you write
-> 5 PINs
[image: 2023-07-05]
<https://user-images.githubusercontent.com/10798954/251253656-1b80035a-df23-46b9-90e9-1c45006e2241.png>
[image: 2023-07-05 (1)]
<https://user-images.githubusercontent.com/10798954/251253667-901df1d8-9d29-4853-96ca-81f371924539.png>
Maybe i dont get the problem or i misunderstood something.
A screenshot makes it maybe more clear.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMJ6YS6S5GFJTIJCQ3PMVPTXOW2UJANCNFSM6AAAAAAZZXEGLI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
? |
can you not see the attachments?
…On Sat, Jul 8, 2023 at 2:13 PM Sven ***@***.***> wrote:
?
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMJ6YS747R7ZQIG7LL5Y4LLXPE6EBANCNFSM6AAAAAAZZXEGLI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
no i dont see an atachment sorry. you can upload the pic direct in the text field |
Hopefully you can see them now - this is the screen I get when I use the
Web interface based BIOS and click on 'control reference in the menu on the
left
[image: DCS BIOS error.jpg]
[image: DCS BIOS error2.jpg]
…On Wed, Jul 12, 2023 at 8:53 PM Sven ***@***.***> wrote:
no i dont see an atachment sorry. you can upload the pic direct in the
text field
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMJ6YSYQXF4CWEQHDSXQQJLXP3P75ANCNFSM6AAAAAAZZXEGLI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
sorry but the immages dont work for me |
I don't understand where you got the example of "New DCS Bios script". In your first post, that delcares an array of 9 items but only lists 5. It also passes the array of size 9 into DCS bios. There are only 5 positions of that switch and 5 pins. |
The behaviour of the rotary switch in game does not match the actual input using the script from the newer DSC Bios documentation,
I loaded the old script in place of the new, and it works perfectly
New DCS Bios script (problematic)
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 (working)
const byte tacanModePins[5] = {PIN_0, PIN_1, PIN_2, PIN_3, PIN_4};
DcsBios::SwitchMultiPos tacanMode("TACAN_MODE", tacanModePins, 5);
The text was updated successfully, but these errors were encountered: