Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marlin lite uses M142 for RGBW LED coloring, this M code is allready used, M420 is intended for this. #71

Open
oliv3r opened this issue May 19, 2015 · 2 comments
Labels

Comments

@oliv3r
Copy link
Contributor

oliv3r commented May 19, 2015

Over on the reprap gcode wiki, it is states that M142 is used for Holding Pressure: http://reprap.org/wiki/G-code#M142:_Holding_Pressure

For RGB coloring, M420 is already reserved: http://reprap.org/wiki/G-code#M420:_Set_RGB_Colors_as_PWM
For example M420 R255 E255 B255 (all caps as all gcodes), however W is missing here, which we can extend the current definition with.

The only weirdness here is that E is used rather then G, as G is normally used for regular GCodes. I'm not educated enough to claim to know if this actually holds true.

@oliv3r oliv3r added the bug label May 19, 2015
@daid
Copy link
Contributor

daid commented May 19, 2015

FYI: The reprap wiki is a fucking mess with the GCode page. It's full of errors and mistakes.

@Nasimovy
Copy link

Nasimovy commented May 4, 2020

EDIT: did not see this issue was so old ...

according to marlin wiki https://marlinfw.org/docs/gcode/M150.html
M150 should be used for RGB(W)
and M420 is used for bed leveling state https://marlinfw.org/docs/gcode/M420.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants