Skip to content

3. Creating Scripts

Larry Athey edited this page Oct 23, 2026 · 33 revisions

You will notice that the word scripts is used three different ways in the LCC ecosystem.

  1. Command scripts (this section)
  2. LedBasic scripts (scenes)
  3. Timeline scripts

LCC Slaves have a buffer/queue that can store a bundle of 16 commands and they are executed in a First-in/First-out fashion. Command scripts are little containers that hold up to 16 commands to send to an LCC Slave in a back to back sequence.

If you enabled the Honor Replay Requests option in a device, you can send a replay command the end of the script in order to run the same script again, or forward it to another script. Set up two scripts to forward to each other and you can create an endless loop until you reboot the LCC Slave.

NOTE: Brushed motor commands with a progress time set and stepper motor commands will hold back other commands until they have completed their progression or executed all of their steps. Keep this in mind or you may end up wondering why later commands aren't running. Adjust your command order as necessary to use this to your advantage.

Clone this wiki locally