Retrieve altitude increment from SimConnect

Hi everyone !

I want to build a simple FCU with Arduino. I’d like to select the 100 or 1000 increment for setting to altitude but I can’t find a sim event or SimVar doing that.

Can anyone help me on this?

Thanks!

Have you tried AP_ALT_VAR_SET_ENGLISH? You might have to assign your encoder to increment a variable in the 100s or 1000s and then send AP_ALT_VAR_SET_ENGLISH with the variable value. You will also need to retrieve the current value with AUTOPILOT_ALTITUDE_LOCK_VAR.

The events are “AP_ALT_VAR_INC” and “AP_ALT_VAR_DEC”, and they correspond to a single “tick” of the (default) rotary switches. The event list is called “Legacy Events”, Perhaps because they did not add new ones beyond the old FSX ones. In those days the amount that stands for a “tick” was dependent on how fast you were turning, increasing step size if you appeared to be trying to cover a large “distance.”

Cheers,
Bert