Hello i have problem with my vs speed display i wanna do this https://github.com/Mobiflight/MobiFlight-Connector/wiki/Tutorial-for-Airbus-VS-display-via-7-Segment-LED-Module but its not working i mean this is beacuse the new version in older version mobiflight my arduino is not alive in program i do normal config but its working on - vs speed but on + on the first number is 1,2,3,4,5 …
#7 segment display MAX7219 not working corectly
1 messages · Page 1 of 1 (latest)
ok you need to share screenshot of your config for the display
and what the "output value" is in the MF Connector window
and how that relates to the displayed value
it is too hard to see the sim values but is the problem that the digits are offset? like the values are cut off or have too many zeroes?
it is otherwise impossible to help (and as we are all at different timezones and doing different projects and stuff, it is not very common to have a fully realtime troubleshooting)
Ik but im not in home at this time
exactly, so when you are, take those screenshots, so when we are around and have a moment, we can look
without those we cannot really say anything. And even though I talk here a lot, I also check the support channels when I take a break from work or projects
sometimes things match up if people are on the same timezone, but its not so common
wheen i have in msfs -08oo the display shows -8000
so when you have wrong numbers on the digits, whats on the "output value" column is important
and what is shown on the digits?
-8000
the video is kinda difficult to follow
the same trouble with heading
wheen i have 080 its show 800
i can take a video but bit slow
yeah let me look at the config screenshot quick
so for heading,
set left padding of zeros
and set the length of the field to 3
the left padding means it makes 1 into 001 on a 3-digit output display
you can also make it pad with space, so it then is 1 with space padded, and 001 with zero padding
but i have 7 segment display
so the way the 7segment displays work
is you have a MAX7219 module
then you define a "display" with X number of digits
so if you have a 8 digit module like this
you can have HDG and SPD on the same one
yes
by jsut not using the same digits on both
but like SPD HDG
ok that is wires getting loose
or interference
the MAX7219 is not happy with bad connections
heading not solved
need to stop/run mobiflight to reset that
yeah the max is a bit like that, you can add a capacitor and make sure you have high quality prototyping wires (the cheap ones are very flimsy and easily disconnect momentarily when they wobble)
yeah that -0500 is a bit wonky but I think the wiki tutorial @jade cipher did is really splitting the values into three parts: the minus sign, the full hundreds, and the tiny zeros (that are actually letters "oo")
but that is explained in the tutorial, its maybe good to first learn how the numbers on seven segments work in general, it is a bit of trickery to get that "-05oo" done
and I have not done that myself ever either
but it is basically the matter of knowing the length of the display "window" and using padding and multiplication when needed
you can also now use the padding modifier (that didnt exist when the wiki page was made)
im dont wanna small zeros or another but i only want to do this working
but it is easily a lot of new things at once
ok just values
so heading works?
what doesnt now?
because when the plane says "-05oo" it really is -500
so your display is correct, but it has that extra zero from somewhere, remove the zero padding from that one?
yes i change the option "left padding or something left" and its working
or set padding to spaces
i change to spaces but wheen i have 0000 in plane its showing on display single 0
but its working
left padding with zeros?
with space
padding means it fills the extra numbers on that side with zero or space
so if you want 0 to be 0000 you pad with zeros so it is 000+0
pad means it fills the extra numbers not part of your value with either zero or space
so it pushes the number either left or right
i repair this single 0 to 00oo
and fills the rest
the small zeros you need to do more tricks with modifiers, but learn to use the digits stuff first different ways
so you can pad and align different numbers in your display the way you want
because otherwise you have no idea what you should change to make the more wild stuff work