Skip to main content
/

Site Navigation

Your Account

Choose Language

Help

Revision to M150

Vladimir

***Parameters***
-* ***Rnnn*** Red component, 0-255
-* ***Unnn*** Green component, 0-255
+* ***Rnnn*** Red ''(green)'' component, 0-255
+* ***Unnn*** Green ''(red)'' component, 0-255
* ***Bnnn*** Blue component, 0-255
* ***Wnnn*** White component, 0-255 (Only for RGBW NeoPixel, RepRapFirmware 3.3 and later)
The specified RGB values will be sent to the number of LEDs in the LED strip as specified by the S parameter, pushing the existing colours along the strip. To set all the LEDs the same colour, make the S parameter equal to or a little longer than the number of LEDs in the strip.
+
+–ěn ***Fysetc 12864mini*** you can configure all three LEDs separately. For display and for encoder illumination:
+
+***Example***
+
+[code]
+M918 P2 E-4 F2000000 ; Fysetc 12864mini
+M150 X2 R255 U0 B0 P255 S1 F1 ; display led
+M150 X2 R0 U255 B0 P255 S1 F1 ; left encoder led
+M150 X2 R0 U255 B0 P255 S1 F0 ; right encoder led
+[/code]

To undo the changes made by this version, click 'Revert Changes.' This will automatically restore the previous version of this guide.

Revert Changes