Configuring the output
LEDs are typically mapped to simulator variables that output either 0 (for off) or 1 (for on). The following steps demonstrate how to use an LED to show the current state of the parking brake in a Cessna 172 in Microsoft Flight Simulator 2020 and Microsoft Flight Simulator 2024.
Tip
The steps for using an LED in an X-Plane project are similar. Use the X-Plane DataRef type when configuring the Sim Variable tab.
Add a new output config
Click the Add Output Config button in the main MobiFlight window to open the output configuration dialog.
Filter the output presets
On the Sim Variable tab, use the Filter Preset List dropdowns to filter by Microsoft, Generic, and Controls.
Select the parking indicator preset
Use the Select Preset dropdown to select the PARKING BRAKE INDICATOR preset.
Select the board and device type for the output
On the Display tab, use the Module and Use type of dropdowns to select your connected board and the LED / Output device type.
Select the LED to use for display
Use the Select Pins dropdown to select the LED device that should display the output value.
Close the dialog and name the config
Click the OK button to close the dialog, then double-click on the New Output Config name in the main window.
Type in a meaningful name for the new config, for example Parking brake, and press enter to apply the change.
Try out the event
Spawn an airplane in Microsoft Flight Simulator. Make sure the MobiFlight Run button is clicked in the toolbar, then try toggling the parking brake in the simulator. The attached LED should light up when the parking brake is applied.
Tip
Even though these steps are for a Cessna 172, the same parking brake indicator preset should work for most planes in Microsoft Flight Simulator.