Trying to set different colour LEDs
I am trying to set different colour LED's and tried the codes that include "index". For example I tried this command SET_LED LED=my_neopixel BLUE=1.0 Red=1.0 Index=1
But nothing changes. Shouldn't this change the colour of the first LED to magenta?
Hi @WarriorClub,
It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).
Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.
For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md
The log can still be attached to this ticket - just add a comment and attach the log to that comment.
Best regards, ~ Your friendly GitIssueBot
PS: I'm just an automated script, not a human being.
To make the change occur, you have to include the TRANSMIT parameter.
SET_LED LED=my_neopixel BLUE=1.0 Red=1.0 Index=1 TRANSMIT=1
To make the change occur, you have to include the TRANSMIT parameter.
SET_LED LED=my_neopixel BLUE=1.0 Red=1.0 Index=1 TRANSMIT=1
Thank you. I also added the transmit parameter but still no changes.
Here is what I added as the code gcode: SET_LED LED=my_neopixel BLUE=1.0 [INDEX=2] [TRANSMIT=1]
To make the change occur, you have to include the TRANSMIT parameter.
SET_LED LED=my_neopixel BLUE=1.0 Red=1.0 Index=1 TRANSMIT=1Thank you. I also added the transmit parameter but still no changes.
Here is what I added as the code gcode: SET_LED LED=my_neopixel BLUE=1.0 [INDEX=2] [TRANSMIT=1]
Do not include square brackets into your code. They here just to designate that parameter is optional.
To make the change occur, you have to include the TRANSMIT parameter.
SET_LED LED=my_neopixel BLUE=1.0 Red=1.0 Index=1 TRANSMIT=1Thank you. I also added the transmit parameter but still no changes. Here is what I added as the code gcode: SET_LED LED=my_neopixel BLUE=1.0 [INDEX=2] [TRANSMIT=1]
Do not include square brackets into your code. They here just to designate that parameter is optional.
Thank you! Both suggestions applied worked. I will close this issue now.