Hi I'm trying to build a sim pit based on DCS , and I have read the DCS BIOS documentation , but couldn't quite understand how to get simple row data from DCS like pitch and roll.
Below is a standard arduino DCS code. I just want to know what to write in the dotted space in front of the pitch and roll to get their values from DCS. Thank you
#include <DcsBios.h>
#include <Servo.h>
DcsBios:: ProtocolParser parser;
void setup() {
Serial.begin(9600);
}
void loop() {
// feed incoming data to the parser
while (Serial.available()) {
parser.processChar(Serial.read());
}
double roll = ................... ;
double pitch = ................... ;
// poll inputs
DcsBios:: PollingInput::pollInputs();
}
void onDcsBiosWrite(unsigned int address, unsigned int value) {
}