Jump to content

Schyza

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Schyza

  1. Hello All, Im creating external UFCP for JF17. DCS BIOS and Arduino working great. BUT :D . I fly KA-50 and Mi-8 too. KA-50s UV-26 is working on this panel with the script: ------------------------------------------------------------ void onUv26DisplayChange(char* newValue) { alpha4.begin(0x70); alpha4.writeDigitAscii(0, 'K'); alpha4.writeDigitAscii(1, 'A'); alpha4.writeDigitAscii(2, '5'); alpha4.writeDigitAscii(3, '0'); alpha4.writeDisplay(); alpha4.begin(0x71); alpha4.writeDigitAscii(1, newValue[0]); alpha4.writeDigitAscii(2, newValue[1]); alpha4.writeDigitAscii(3, newValue[2]); alpha4.writeDisplay(); } DcsBios::StringBuffer<3> uv26DisplayBuffer(0x1812, onUv26DisplayChange); ------------------------------------------------------------------------------------------------------ My Question is, why it dont work with Mi-8? If some1 know how to fix it it will be the best person on earth ;) For Mi-8: void onget_Uv26_DisplayChange(char* newValue) { alpha4.begin(0x70); alpha4.writeDigitAscii(0, 'M'); alpha4.writeDigitAscii(1, 'i'); alpha4.writeDigitAscii(2, '-'); alpha4.writeDigitAscii(3, '8'); alpha4.writeDisplay(); alpha4.begin(0x71); alpha4.writeDigitAscii(0, '-'); alpha4.writeDigitAscii(1, newValue[0]); alpha4.writeDigitAscii(2, newValue[1]); alpha4.writeDigitAscii(3, newValue[2]); alpha4.writeDisplay(); } DcsBios::StringBuffer<3> get_Uv26_DisplayBuffer(0x1812, onget_Uv26_DisplayChange);
×
×
  • Create New...