flexi-bot/docs/marlin/_gcode/M355.md
2023-09-05 20:38:49 +02:00

831 B

tag title brief author requires group codes notes parameters example
m0355 Case Light Control Turn the case light on or off, set brightness thinkyhead CASE_LIGHT_PIN control
M355
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.
type
byte
tag optional description values
S true Turn the case light on or off.
type
bool
pre code
Turn the case light on at half brightness M355 S1 P128

Set the case light power state and/or brightness.