thinkyhead

M355 - Case Light Control

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

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.

Usage

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

Parameters

[P<byte>]

Set the brightness factor from 0 to 255.

    [S<bool>]

    Turn the case light on or off.

      Example

      Turn the case light on at half brightness

      M355 S1 P128