IC10 Learning Series

Episode 1: Basics (Lever -> Light)

This companion page covers your first IC10 script structure and the core mental model for a simple device control loop.

Core Script Shell

# Define Devices - d0 -> d5


# Define Variables - r0 -> r15


# Main Loop
Start:


j Start

Episode 1 Full Script (Lever -> Light)

# Define Devices - d0 -> d5
alias lever d0
alias light d1

# Define Variables - r0 -> r15
alias open r0

# Main Loop
Start:
# Read the value of Open to the open variable
l open lever Open
s light On open
j Start

What the IC10 lines do

How to Use This Template