MillKris Posted May 26 Posted May 26 Here is my KDU (Keyboard Display Unit) for the DCS AH-64D Apache. The project includes files for 3D printing, laser engraving of the button labels, and, of course, the Arduino code. You can switch the display source from Pilot to CP/Gunner by pressing a button. This button is wired to PIN 7. I integrated this function into the push-button of the rotary encoder for the KU Scratchpad Brightness Knob. I engraved the labels with a laser, but I've added another version of the buttons where the labels are raised so they can be printed directly with a 3D printer. I used an Arduino UNO and an SSD1322 OLED display with an SPI interface. now available on GitHub! https://github.com/MilKris666 1
SrSosio Posted June 7 Posted June 7 Hey, I'm building one myself, and having trouble with exporting the display. I checked your code in github and saw this: DcsBios::StringBuffer<22> pltKuDisplayBuffer(0x808e, onPltKuDisplayChange); What's 0x808e? In my code I have: DcsBios::StringBuffer<22> pltKuDisplayBuffer(AH_64D_PLT_KU_DISPLAY_A, onPltKuDisplayChange);
MillKris Posted June 9 Author Posted June 9 (edited) On 6/7/2025 at 10:30 AM, SrSosio said: Hey, I'm building one myself, and having trouble with exporting the display. I checked your code in github and saw this: DcsBios::StringBuffer<22> pltKuDisplayBuffer(0x808e, onPltKuDisplayChange); What's 0x808e? In my code I have: DcsBios::StringBuffer<22> pltKuDisplayBuffer(AH_64D_PLT_KU_DISPLAY_A, onPltKuDisplayChange); Hi, 0x808e is a memory address (offset) used by DCS-BIOS to identify where specific data - in this case, the Pilot's KU display in the AH-64D Apache - is located in the data stream coming from DCS. For the CP/G it's 0x80ac. Edited June 9 by MillKris
SrSosio Posted June 9 Posted June 9 19 minutes ago, MillKris said: Hi, 0x808e is a memory address (offset) used by DCS-BIOS to identify where specific data - in this case, the Pilot's KU display in the AH-64D Apache - is located in the data stream coming from DCS. For the CP/G it's 0x80ac. Thank you!! I'm goint to try that right away!
Recommended Posts