questerymj Posted April 28, 2020 Share Posted April 28, 2020 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 More sharing options...
Karon Posted April 28, 2020 Share Posted April 28, 2020 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); "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 More sharing options...
questerymj Posted April 28, 2020 Author Share Posted April 28, 2020 Thank you very much for the reply! I'd installed some module and ready to test the script after I connect to Virtual cockpit. I will test your way when I back home, thanks again! Link to comment Share on other sites More sharing options...
questerymj Posted April 28, 2020 Author Share Posted April 28, 2020 By the way I'm using the DCS-BIOS hub , not the "old" style DCS-BIOS. Does these 2 make any difference? Link to comment Share on other sites More sharing options...
Recommended Posts