RCT Lights

A friend has a Jet with lights controlled by a device working with one channel. Different lights on and blinking statuses are controlled by the value of channel input to the device. When configuring all the switches, logical switches, free mixes and whatnot to make the different situations control the output channel I thought there has to be an easier way. Now there is, here is RCT Lights!


RCT Lights Features

  • Use a Master switch
  • Set default values for Off and On for Master switch
  • Assignable default “Lights Off”-value
  • Three different light positions
  • Positions assignable with one to three switches
  • If none of positions are active default value is used
  • Works with all lua-enabled transmitters (DC/DS-12/14/16/24)


In short: Copy the RCT-Ligh.lc (or .lua, the .lc is memory-optimized) file from github here to your transmitters Apps-folder, copy the RCT-Ligh.jsn file from Lang-folder to Apps/Lang-folder on your transmitter. Head on to “Applications” -> “User applications” and add the app. Guide on installation of Lua-apps available here if you need some more in-depth guide. Also available for installation with Jeti Studio.

Setting up and usage of RCT Lights

First create a “Lights” channel in function assignment:


Then assign that function to be controlled by the Lights-application control:


And as with any other channel, do a servo assignment to that channel and define a receiver output for it.

Now open the app from “Menu” -> “Model” -> “Fine Tuning”, all settings are easy.

Some rules apply for the actual settings:

  • Positions are checked from top to bottom, if you use only two positions use 1 and 2, not for example 2 and 3.
  • Same with switches, you can use one, two or three switches, if using two you have to use switches 1 and 2, not 2 and 3.
  • Channel value is the value you want channel to put out in that particular position

Notes about channel value: This is easy to setup since it changes in real time when you set it up. So power the model (check safety so it cannot start!), set switches as you like and adjust the channel value in app so lights are functioning as they should.

And that’s it, so simple!

Version history

  • 1.0 Release version
  • 1.1 Added new Master switch function with user-set default On and Off values


Some rules do of course apply!

  • Never use Lua to control a function that would take the model down if misbehaving!
  • Always, always test the function thoroughly before flying!
  • If you do not know, then don’t!
  • RC-Thoughts or myself is NOT responsible for anything this application does
  • Applications are free to use (MIT-license) and linking to this page is encouraged!