Jump to content
The simFlight Network Forums

Control Bravo LEDs based on offset changes

Recommended Posts

I found the red and green LEDs for each gear can be turned on simultaneously which makes the gear indicator look orange, so I uploaded a new bravoleds.lua version with definitions for GEARIND_ORANGE, GEAR_LEFT_ORANGE, GEAR_CNTR_ORANGE, and GEAR_RIGHT_ORANGE.  Nothing uses those definitions presently but they're available for anyone tweaking the logic. 

(Edit: at least I think they were orange, they could be yellow based on what I just found on the web regarding what green and red light mixed should look like.  My setup has been down for some weeks now and my color memory isn't the best; I'll get around to reconfirming but if anyone tests this before then and finds they are yellow, I can push another update).

Link to comment
Share on other sites

13 minutes ago, Blake Buhlig said:

(Edit: at least I think they were orange, they could be yellow...

I'm doubling down on my memory and betting orange.  The red probably overbears the green to make orange.   

It could be fun to try producing yellow by pulsing the red LED on and off with green solid on, though lua might not be able to pulse it fast enough.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.