M355 - Case Light Control

Description

Set the case light power state and/or brightness.

Notes

Requires a CASE_LIGHT_PIN to control the on/off or PWM state of the case light. The pin will need to be a 12V MOSFET pin with PWM control, or a signal pin connected to a MOSFET or relay to control the higher current required for the light.

Parameters

M355 [P<byte>] [S<bool>]
[P<byte>]

Set the brightness factor from 0 to 255.

[S<bool>]

Turn the case light on or off.

Examples

Turn the case light on at half brightness

M355 S1 P128