Jump to content

HELP - Newbee unable to get Arduino talking to DCS Bios


Recommended Posts

Hi Everybody, i've already fallen at the first hurdle in building a DCS based simpit! Any help would be much appreciated..

 

Where i am - i have followed the set up doc in detail, but must be missing something!

 

I have v0.10.0+64 DCS Bios installed along with the library
I have connected both a Mega & Nano boards successfully

I completed a successful blink test of both

I launched a very basic sketch using IRQ Serial to try and get the master warning light to trigger the arduinos onboard led to check connectivity.

The process followed was;

 

I disconnected the Com port via DCS dashboard
Uploaded the sketch (below)
Connected the com port via DCS dashboard

Launched DCS, unpaused and triggered the master warning in the Av8B - I expected to see the Arduinos onboard light flashing but it didn't, i have read and re read through the docs and cannot get any arduino i have to connect.

I have unloaded and reloaded dcs bios multiple times just in case

 

Script used:

 

#define DCSBIOS_IRQ_SERIAL

#include "DcsBios.h"

 

/* paste code snippets from the reference documentation here */

DcsBios::LED mWarning(0x780c, 0x1000, 13);

 

void setup() {
  DcsBios::setup();
}

void loop() {
  DcsBios::loop();
}

 

Any help or advice would be much appreciated 😕

 

Thanks

 

 

 

 


Edited by maffoA10
Link to post
Share on other sites

Hi Maffo,

 

i suggest you add a physical switch to the Arduino and add that to your sketch, something easy to see in cockpit, Master Arm on or something. Shut down DCS, shut down DCS-BIOS. Make sure you have a good path for DCS-Bios to DCS. 
 

Start DCS, DCSBIOS should start automatically. In cockpit, focus on that switch. Activate the physical switch. Watch for changes.
 

See if that works.

SCAN Intel Core i9 10850K "Comet Lake", 32GB DDR4, 10GB NVIDIA RTX 3080, HP Reverb G2

Custom Mi-24 pit with magnetic braked cyclic and collective. See it here: Molevitch Mi-24 Pit.

 

[sIGPIC][/sIGPIC] www.blacksharkden.com

bsd sig 2021.jpg

Link to post
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...