Jump to content

Recommended Posts

Posted

Hello!

I built a functional AoA Indexer with a Nano. Works super with the F-18 & F-14 but would like to expand my Arduino code to support the T-45C. Anyone know where I can find the AoA name/interger info for this aircraft? The F-18 arduino code looks like this btw...

DcsBios::LED aoaIndexerHigh(0x7408, 0x0008, 6);
DcsBios::LED aoaIndexerLow(0x7408, 0x0008, 2);
DcsBios::LED aoaIndexerNormal(0x7408, 0x0008, 4);
 
Any input would be much appreciated. Thanks!
 
 

AoA2.jpg

AoA1.jpg

  • Like 1
Posted (edited)
3 hours ago, DH14300 said:

Hello!

I built a functional AoA Indexer with a Nano. Works super with the F-18 & F-14 but would like to expand my Arduino code to support the T-45C. Anyone know where I can find the AoA name/interger info for this aircraft? The F-18 arduino code looks like this btw...

DcsBios::LED aoaIndexerHigh(0x7408, 0x0008, 6);
DcsBios::LED aoaIndexerLow(0x7408, 0x0008, 2);
DcsBios::LED aoaIndexerNormal(0x7408, 0x0008, 4);
 

 

 

I think those "0x0008" should all be different. Those lines are just all looking at the same LED.

IF the LEDs can share outputs, the code should look like this:

//F-18 AoA
DcsBios::LED aoaIndexerHigh(0x7408, 0x0008, 6);
DcsBios::LED aoaIndexerNormal(0x7408, 0x0010, 4);
DcsBios::LED aoaIndexerLow(0x7408, 0x0020, 2);

// T-45 AoA (From Flightpanels control ref)
DcsBios::LED aoaFastL(0x9008, 0x8000, 6);
DcsBios::LED aoaOptL(0x9008, 0x4000, 4);
DcsBios::LED aoaSlowL(0x9008, 0x2000, 2);

HOWEVER, while switch and pot input pins can be shared like this, I don't know if outputs can.  How did you make the F-18 AND F-14 work on the same code?

Edited by No1sonuk
  • Recently Browsing   0 members

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