Jump to content

New to DCS-Bios and Arduino Won't connect to Virtual Cockpit


supa325

Recommended Posts

A few weeks back, I happened to find a home made A-10C Electric Panel wired to a Arduino Nano.  I also have an old landing gear handle that I've been wanting to wire up, but has been a bit overwhelming.  So I find this panel, wired, and cheap.  I buy it thinking the hard part is done, and I can reverse engineer how this person physically hooked it up.  I get arduino started, I follow the online instructions and assign a couple of switches and upload it successfully to my nano.  But, DCS Bios "Virtual Cockpit" doesn't turn green.  I've tried to add DCS bios automatically and also copy-paste to my Export.lua.  And the right Com port is connected in Bios

Bios is installed in C:, Beta is in C:/Users/.../SavedGames and also E:

This is my test code uploaded into Arduino for my F-16

#define DCSBIOS_IRQ_SERIAL

#include "DcsBios.h"

DcsBios::Switch2Pos gearHandle("GEAR_HANDLE", 9);
DcsBios::Switch2Pos airRefuelSw("AIR_REFUEL_SW", 8);
DcsBios::Switch2Pos storesConfigSw("STORES_CONFIG_SW", 4);
void setup() {
  DcsBios::setup();
}

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

Link to comment
Share on other sites

Did you manage to get the master caution sketch to work?

It sounds like you didn't install the BIOS properly. What is "virtual cockpit".l?  If this is the old Hub version of the BIOS I'd say start from scratch and install the flightpanels fork: https://github.com/DCSFlightpanels/dcs-bios and follow their guide: https://github.com/DCSFlightpanels/dcs-bios/blob/master/Scripts/DCS-BIOS/doc/userguide.adoc


Edited by agrasyuk

Anton.

 

My pit build thread .

Simple and cheap UFC project

Link to comment
Share on other sites

  • Recently Browsing   0 members

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