thinkyhead

M355 - Case Light Control

control Turn the case light on or off, set brightness CASE_LIGHT_PIN

Set the case light power state and/or brightness.


Usage

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

Argument Description
[P<byte>]

Set the brightness factor from 0 to 255.

[S<bool>]

Turn the case light on or off.

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.

Example

Turn the case light on at half brightness

M355 S1 P128