Jump to content

problem with arduino mega


Recommended Posts

Hello everyone!

Im building f-18 simpit and i have a problem with the hud control panel. 3pos toggle switches are not working correctly. One of the 3 positions is not working.  For example on the hud symbology reject switch the REJ1 and REJ2 position working correctly, but in the game the does not switch to the NORM position.

 

Here is the code for them:

DcsBios::Switch3Pos hudSymRejSw("HUD_SYM_REJ_SW", 10, 11);

DcsBios::Switch3Pos hudVideoControlSw("HUD_VIDEO_CONTROL_SW", 14, 15);

DcsBios::Switch3Pos hudAttSw("HUD_ATT_SW", 16, 17);

 

while on the ufc the toggle switch for ADF is working fine:

DcsBios::Switch3Pos ufcAdf("UFC_ADF", 2, 3);

 

May I ask you to give me some advice where to start fixin? The multimeter beep test was ok for the toggle switches.

 

Thank you in advance

 

Best regards

Nevada

Link to comment
Share on other sites

  • 3 weeks later...

Sorry I've just seen this - you've posted it in the wrong forum.  It should be in the main Home Cockpits section, not the 3D printing sub-forum. 🙃

As for the question:  If one 3-position switch works, there must be something wrong other than the code.

Which version of DCS-BIOS are you running?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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