#MAX7219 showing slightly different number from output value shown in mobiflight connector 10.5.3

1 messages · Page 1 of 1 (latest)

quick ore
#

I'm using a max7219 for 7-segment display, and they work but they shows a different number from output value. (I took a video and it's being uploaded at this moment)

#

I tested three of them and they're all the same.

#

so if I change number like A, A+1, A+2, A+1 the shown result is the number before A, A, A+1, A+2

#

like one step behind

hollow pasture
#

You need to show exactly what you are doing.
Post screenshots of the output config: simvar, Modify and display tabs

#

Your video is very confusing panning back and forth.

#

The config line says HDG copy, but you appear to be trying to display Altitude. Very confusing.

quick ore
#

(it says alt but it's the same one)

hollow pasture
#

Can you explain what are you trying to do with those modifiers? Seem unnecessary. If you want to display Flight Level instead of Altitude just divide by 100 and probably floor the value instead of rounding.
If you want to display numbers right justified use the left padding option in the display tab.

quick ore
#

yes that's what I want to do and I'll change to it but does it have anything to do with my problem?

#

the problem is, that max7219 seemingly shows the previous value(shown in mobiflight connecter) rather than current

hollow pasture
#

What does the flight Sim Value column receive from the Sim. Mobiflight simply displays what it received.

quick ore
#

the hardware should display what's in the Output Value column, no?

hollow pasture
#

Yes

quick ore
#

but it doesn't

#

that's what I'm saying

hollow pasture
#

Show me

quick ore
#

without zooming and panning?

#

ok

hollow pasture
#

Post screenshot of the Mobiflight window with the values clearly

#

Then what is displayed

#

I don't use substring or padding very often. Mobiflight is not very strong at handling characters.

quick ore
hollow pasture
#

But what comes out of your modifiers should be what is displayed. I also noted your substring picks four characters but your display is set for only 3.

quick ore
#

I changed to what you suggested and still the same tho

quick ore
queen stone
quick ore
#

the index starts with 1?

#

I thought it started with 0 like many other programming things

#

but anyway fine

quick ore
queen stone
#

Not sure which direction it counts, but if cutting char3 eliminates the right most digit...🤷‍♂️ give it a try

#

I don't use sustring modifiers tbh