Replies: 1 comment
-
Hey, Thanks for the printer commands for the lights. If you want an example of adding a new command to the app - take a look in #39. There's also a mock up of what the button might look like in #43. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Here are the Codes, to turn Lights on or off:
M146
LED control.
LED on command
M146 r255 g255 b255 F0
LED off command
M146 r0 g0 b0 F0
RGB needs to be lowercase. In addition, although the value of rgb was changed to something other than 0 or 255 before, there was no change in the actual color of the LED. It may only recognize display and erase.
It's possible to add this commands in this application? I never wrote applications in electron/angular so i still figure out how this application works.
Beta Was this translation helpful? Give feedback.
All reactions