Lighting Control
External lights can be controlled via digital output (on supported devices). Control is managed through /io/in_light input and /misc/lightopts settings.
tip
- For UART display users: Set
/io/in_lightto3,14to utilize the display's light input - If you wish to extend the lighting system to cover turn signal lights, please contact our support team.
Light Options
/misc/lightopts configuration bits:
| Bit | Description |
|---|---|
| 0 | Auto-enable lights at startup |
| 1 | Enable brake light on secondary contactor |
| 2 | Combine brake lights and main lights on main lights output (PWM-capable outputs only):
|
| 3 | Shortpress activate the lights. |
| 4 | Longpress activate the lights. |
Contactor output mapping
| Model | Configuration |
|---|---|
| SL | Contactor 2: Main lights Contactor 3: Brake lights |
| SC/SX | Contactor 1: Main/brake lights combined |
| AM | Contactor 1: Main lights Contactor 2: Brake lights (non-PWM) |
| AX/TX | Contactor 1: Main lights Contactor 2: Brake lights |
tip
PWM-capable controllers: See contactor settings for voltage configuration