7 Segment displays and AM 4

Peer support for Air Manager desktop users

Moderators: russ, Ralph

Post Reply
Message
Author
jojo1972
Posts: 2
Joined: Wed May 19, 2021 11:30 am

7 Segment displays and AM 4

#1 Post by jojo1972 »

Hello
All my 7 segment displays work fine in AM 3.7 . If I upgrade to AM 4 ( even in AM4 Beta ), they do not work .
I did reflash the arduino's and i know how to use the 7 segments .
Script example : Alt display

display_chr_alt = hw_chr_display_add("alt", "MAX7219", 8)
hw_chr_display_set_brightness(display_chr_alt, 3, 0.2)

function altitude(alt)
-- Set text COM1 frequency on display 0 (first), line 0
hw_chr_display_set_text(display_chr_alt , 3, 0, string.format("%05.0f ",alt) )
end

fsx_variable_subscribe("AUTOPILOT ALTITUDE LOCK VAR", "Feet", altitude)


So do I have to change something in this script to work with AM 4

Thank you
J

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 7 Segment displays and AM 4

#2 Post by Ralph »

In 3.7 it doesn't work as well :) It might in your case, but in general it doesn't. It's gonna be updated in a future version, probably 4.1.

jojo1972
Posts: 2
Joined: Wed May 19, 2021 11:30 am

Re: 7 Segment displays and AM 4

#3 Post by jojo1972 »

I bought AM 3.7 in May 2020 .
I only use it for 7-segments and they always worked perfect , 2 arduino's with nine 7-segment leds .
Configured them for pmdg , majestic q400 , milviz ka350 , maddog md 82 , A2A and they work all well with Lvar .
So I don't know how you can say it doesn't work in AM 3.7 ?????
Thanks
J

User avatar
Ralph
Posts: 7876
Joined: Tue Oct 27, 2015 7:02 pm
Location: De Steeg
Contact:

Re: 7 Segment displays and AM 4

#4 Post by Ralph »

The 7 segment implementation has always been a bit unstable. Corjan is working on a new implementation.

Post Reply