@MobiFlight Thanks for the link. I found it already myself, and it’s indeed a very good starting point. It’s all pretty complex, but I guess that is the nature of such things.
I have posted a question on the MobiFlight forum, which is also questioning about some variables. I would really appreciate if you have a look at it.
https://www.mobiflight.com/forum/message/24524.html
Anyway, what I achieved so far:
-
Control the BAT 2 switch and show the BAT 1 OFF indicator (see earlier post)
-
Control the SPD with an encoder and show the value on a 3-digit 7-segment display
-
Used the shiftregister output type to control several backlight channels (STP16CPC26MTR has 16 constant current outputs, ideal for controlling a lot of LED’s, and it has an OE pin that can be controlled using PWM for the brightness)
-
Used an analog input connected with a potmeter which is used to set the value of “MobiFlight variable” which is then used to control a PWM output to connect with my backlight circuit
And saying that 2 days ago, I even didn’t have FS2020… ![]()