Hi!
I have any problem with NMSP in A-10C module. The LED's work the opposite way than in the module: in module is ON, in panel is OFF. Where is problem?
My scatch:
#define DCSBIOS_IRQ_SERIAL
#include <DcsBios.h>
DcsBios::LED nmspHarsLed(0x1110, 0x0200, 3);
DcsBios::LED nmspEgiLed(0x1110, 0x0800, 4);
DcsBios::LED nmspTislLed(0x1110, 0x2000, 5);
DcsBios::LED nmspSteerptLed(0x1110, 0x8000, 6);
DcsBios::LED nmspAnchrLed(0x1112, 0x0002, 7);
DcsBios::LED nmspTcnLed(0x1112, 0x0008, 8);
DcsBios::LED nmspIlsLed(0x1112, 0x0020, 9);
void onDcsBiosFrameSync() {
}
void setup() {
DcsBios::setup();
}
void loop() {
DcsBios::loop();
}
I use DCS BIOS v 0.5.2 and library 0.2.11
Arduino Uno.