| m0355 |
Case Light Control |
Turn the case light on or off, set brightness |
thinkyhead |
CASE_LIGHT_PIN |
control |
|
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. |
| tag |
optional |
description |
values |
| P |
true |
Set the brightness factor from 0 to 255. |
|
|
| tag |
optional |
description |
values |
| S |
true |
Turn the case light on or off. |
|
|
|
| pre |
code |
| Turn the case light on at half brightness |
M355 S1 P128 |
|
|