Jump to content

Recommended Posts

Posted

Hi all.

Just finished wiring and testing my front panel (except for the Ekran), and it seems working fine.

But I've a little problem with the ADI knob.

It should turn L/R just a little amount (about + - 30 degree), but no way to make it work.

More precisely, it works, but the movement is too short to be effective (I can see the virtual knob moving an infinitesimal step.....but not the full 30 degree range)

I tried (experimentally) to modify the encoder resolution in the snippet, I tried up to the max (+65535 -65535) but the max rotation is maybe 1 degree

The standard Bort's snippet is

DcsBios::RotaryEncoder adiPitchTrim("ADI_PITCH_TRIM", "-3200", "+3200", PIN_A, PIN_B);

I tried from (it works great for the HSI)

DcsBios::RotaryEncoder adiPitchTrim("ADI_PITCH_TRIM", "-182", "+182", PIN_A, PIN_B);

to

DcsBios::RotaryEncoder adiPitchTrim("ADI_PITCH_TRIM", "-65535", "+65535", PIN_A, PIN_B);

changing several value in that  range, but got no result.

Suggestion?

Jocman

"For once you have tasted flight you will walk the earth with your eyes turned skywards, for there you have been and there you will long to return" (L. Da Vinci)

Prev. Projects:

https://forums.eagle.ru/showthread.php?t=50071

  • Recently Browsing   0 members

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