Status lights
Two status LEDs, five user LEDs, one power LED.
Two end lights under the rear window are controller status (not programmable). Five in the middle are user LEDs, numbered 1–5 left to right with the arc at the top. Red LED next to DFU is bus power.
Pit chart
Click a row to play that pattern. Lights stay dark until you do.
No power
Check power leads and the breaker. Confirm the small red LED next to DFU.
Nothing is talking to the controller
Check CAN wiring and bus termination. Confirm SystemCore is on.
Bus is present, no robot program
Deploy robot code, or confirm this CAN ID is constructed in code.
Robot program present, robot disabled
Enable in the Driver Station.
Enabled, output at neutral
Command the motor.
Driving forward
—
Driving reverse
—
Over-temperature. Output is cut.
Let it cool. Lower stator current. Clear the jam.
Faulted. Will not move.
Read the fault in SWYFT Link.
Two controllers share this CAN ID
Give one of them a different ID (1–62).
Identify
None. Stops after about 2.5 seconds.
Firmware update in progress
Wait. If it never clears, use DFU recovery.
Forward is solid green. Reverse is solid red. Duty does not change blink rate. User colour set while spinning is held and shown at the next repaint.
User LEDs
Set from robot code, from SWYFT Link on SystemCore, or from SWYFT Link in a browser. All three call the same functions. Code
Colour persists until power loss. After a power cycle the five are dark until
set again. Put team colour in robotInit() if you want it every match.
Black (0, 0, 0) on all five returns the lights to the controller. That is not off.
clearLEDs() turns them off. Send 0–255; the board scales brightness.
A fault always paints the two end lights. User colour on the middle five is unchanged. Do not use the middle five as the only driver signal.
Animations
| Mode | Name | What it does |
|---|---|---|
| 0 | Static | One colour on all five |
| 1 | ChaseForward | Lit pocket travels light 1 → 5 |
| 2 | ChaseReverse | Lit pocket travels light 5 → 1 |
| 3 | Breathe | Colour fades up and down |
| 4 | Rainbow | Hue sweep. Pass any non-black colour |
Colour and animation are mutually exclusive. Setting a colour stops an animation. Mode > 4 is treated as a static colour.
NEXT Faults