I just installed an RGB LED Stripe and wired to my board running smoothie without any problem. I've tested the 3 colors and all are working fine. Now, I want to make each color light up at specific state. For example: while printing, light the green led. When heating, turn red on. When finished (or idle state), turn blue led.
I know that I can program specifics GCodes do turn on and off LED's…..but there's any kind of trigger in configuration file?
I know that there is one for pause and for resume…..but there is any for 'start printing'? I mean, printing from SD Card.
I'm trying to avoid any need to insert GCodes on file and make almost everything automatic (color change), if possible.
Ah, and another question: is possible to use more than one command to turn on/off?
For example: to turn pin X on, I would like to use M1212 (custom code) and M106….any of these commands turns on…..is possible? What's the syntac to use more than one command?