Jump to content

Help about connect DCS BIOS and DCS


Recommended Posts

Hello all,

 

 

I just begin to try DCS-BIOS these day and bought a bounch of Arduino Nano. The setting goes well until I found I can't get DCS BIOS connect to DCS, looks like it cannot find the location of DCS world installation, there are no selection or check box to select DCS world beta etc, but tell me to add some line to the export.lua.

 

I'm confused about what export.lua to be edited and how to do. Could someone kindly tell me how to do?

Link to comment
Share on other sites

You shouldn't have to edit anything manually if you use DCS-BIOS Hub.

 

 

In your sketch simply include the header file and define for the serial:

#define DCSBIOS_IRQ_SERIAL
//#define DCSBIOS_DEFAULT_SERIAL
#include "DcsBios.h"

In setup:

DcsBios::setup();

and in Loop:

DcsBios::loop();

and that's pretty much it. Then start adding some DCS-BIOS calls from DCS-BIOS Hub library (follow the guides to install the modules first). For instance, I use DCS-BIOS to display info on a TFT. This call retrieves the total fuel displayed in the RIO seat:

void onRioFuelTotalDispChange(unsigned int newValue) {
   drawFuelTotal(newValue);
}DcsBios::IntegerBuffer rioFuelTotalDispBuffer(0x144c, 0xffff, 0, onRioFuelTotalDispChange);

full_tiny.pngfull_tiny.png
full_tiny.png

"Cogito, ergo RIO"
Virtual Backseaters Volume I: F-14 Radar Intercept Officer - Fifth Public Draft
Virtual Backseaters Volume II: F-4E Weapon Systems Officer - Internal Draft WIP

Phantom Phamiliarisation Video Series | F-4E/F-14 Kneeboard Pack

Link to comment
Share on other sites

  • Recently Browsing   0 members

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