February 8, 20215 yr 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 ThanksOscar
February 8, 20215 yr 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
February 14, 20215 yr 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.