How to turn case light on/off in Marlin using G-Code

In order to turn the case light on in Marlin, use M355S1P255is full brightness:

case_light_on.gcode
M355S1P255

In order to turn the case light off, use S0

case_light_off.gcode
M355S0

In order to turn it on at half brightness, use P128

case_light_half_brightness.gcode
M355S1P128

 


Check out similar posts by category: 3D Printing, Electronics