Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LED annunciators with LINDA and Arduino

Featured Replies

Hi I'm new here and wondering if I could have some help.

I'm trying to build an overhead panel with LED annunciators. So far I've managed to get some switches connected to an Arduino acting as a joystick, and using LINDA have them act as switches inside the aircraft. The next step for me would be to try and get some LEDs to act as the annunciator lights in the aircraft.

Using LINDA I've managed to find the Lua Variables for the lights I want, but I'm not sure how to have LINDA communicate with the Arduino to output the Lua Variable to the LED.

Any ideas guys?

Many Thanks
Oscar

Welcome to LINDA. You will need an interface like LeoBodnar or Arduino that acts as a HID device and allows control of external outputs. FSUIPC and LUA provides the com.writefeature command to control these outputs (see FSUIPC Lua Library Documentation). You can find examples of the use of these instructions in the LINDA Library module lib-saitek.lua. 

Andrew Gransden

Scotland, UK

LINDA Support/Developer - VATSIM and BAVirtual - Airbus Flyer

i7 1TB SSD GTX980 - FSX/P3D - Aerosoft Airbus A318/A319/A320/A321 - FS2Crew

  • Author

HI thank you for the advice. I've had a look at the examples you suggested and at the documentation but I can't find what I'm looking for. Sorry to bother and of course I understand if you can't do this, but I wonder if I could have some example lua and ino code for outputting a LVar to an LED wired to an arduino. Again if this isn't possible I totally understand.

 

Many Thanks

Oscar

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.