Jump to content

DCS-BIOS write integerBuffer


Apoth

Recommended Posts

Hello!

I started to build a home cockpit using original plane parts. Now i making a test for the radio channel selector for MiG 21. I learned that the original instrument is a "drum" where you can set a digital code for each position, eg 00100 means 4. This way i can set all 20 position in 5 wire (+ground of course) on my arduino board, and calculate the decimal value of the code:

  if(digitalRead(2) == HIGH) channel += 1;
  if(digitalRead(3) == HIGH) channel += 2;
  if(digitalRead(4) == HIGH) channel += 4;
  if(digitalRead(5) == HIGH) channel += 8;
  if(digitalRead(6) == HIGH) channel += 16;

And at this point i stuck. I not found any interface to directly write the position number on the DCS-BIOS. Anybody can help me?

Thanks!

Apoth

image.png

PXL_20211212_114321573.jpg

Link to comment
Share on other sites

  • Recently Browsing   0 members

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