Skip to content

Controlling the brightness of LEDs and 7 segment modules

Jaime Leon edited this page Jan 19, 2024 · 21 revisions

The brightness of LEDs and 7-segment modules can be controlled inside Mobiflight. In this tutorial we will cover how to do this. We will not get into any details about wiring potentiometer, encoders, LEDs or 7-segment modules, as those topics are covered in other tutorials.

The Basic Technique

A potentiometer or encoder cab be used to set the value of either a Mobiflight Variable or a simulator Lvar in MSFS2020, or maybe a dataref in Xplane12. In many cases this value ranges from 0 to 100. A typical Mobiflight input config for a MF variable might be this simple formula in the value field to set the value in the range 0-100:

@/10.23

image

Bear in mind this can be an Lvar or Dataref just as well.

In the case of an encoder, a typical input config formula for a MF variable would look like this for Left and Right.

Left turn: Max($-5,0)

image

Right turn: Min($+5,100)

image

Installation

User Interface

Examples and tutorials

MSFS2020

X-Plane

Workshops

Community Boards & Devices

Additional Information

Firmware

Clone this wiki locally