aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/neopixel.py
Commit message (Collapse)AuthorAgeFilesLines
* Run black on all first party python codeTomasz Kramkowski2025-08-061-28/+43
|
* led: Generalize template evaluation so it is not dependent on LEDsKevin O'Connor2024-09-301-3/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Simplify color_order parsingKevin O'Connor2022-04-181-5/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Fix color_order assignmentKevin O'Connor2022-04-181-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Support chains with a mix of color_orderKevin O'Connor2022-04-181-18/+22
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* led: Remove has_white check from LEDHelperKevin O'Connor2022-04-181-1/+1
| | | | | | There is no harm in checking for a white config setting. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Support arbitrary RGBW strings in color_order configKevin O'Connor2022-04-061-4/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Update to use LEDHelper classKevin O'Connor2022-03-311-78/+35
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: add BGR for neopixel (#5160)electron24102022-03-141-1/+3
| | | Signed-off-by: Thomas Liebold <electron2410@gmail.com>
* neopixel: Update neopixel.py to add BRG color order (#5110)Tim Abraham2022-01-121-1/+3
| | | | | | Add BRG color option. Document BRG color option. Signed-off-by: Timothy Abraham <Timothyabe93@gmail.com>
* neopixel: report color data via get_status() methodArksine2021-06-181-0/+10
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* neopixel: add sync parameter to prevent waking toolhead (#4339)Paul McGowan2021-06-021-2/+8
| | | | | | | neopixel: add sync param to prevent waking toolhead dotstar: refactor to match neopixel methods and add sync parameter Signed-off-by: Paul McGowan <mental405@gmail.com>
* neopixel: Don't wait for responses when in debug mode.Kevin O'Connor2020-12-011-0/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Apply LED updates at time of transmissionKevin O'Connor2020-11-051-40/+42
| | | | | | | | Queue updates so that delays between updates are properly applied. This fixes macros that would blink LEDs by pausing between update commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Fix neopixel_result message so that it contains an oidKevin O'Connor2020-11-051-1/+1
| | | | | | | In order for commit 82156170 to work properly, the neopixel_result message must contain the oid. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Fix failure with multiple simultaneous neopixel updatesKevin O'Connor2020-11-041-1/+2
| | | | | | | Make sure to set the oid parameter of mcu.lookup_query_command() so responses are routed correctly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mcu: Add support for setting reqclock in CommandQueryWrapper.send()Kevin O'Connor2020-10-291-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Don't flush the lookahead queue on a SET_LED commandKevin O'Connor2020-10-291-32/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for RGBW LEDsKevin O'Connor2020-10-291-11/+23
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Increase the maximum LED chain lengthKevin O'Connor2020-10-291-12/+45
| | | | | | | Rework neopixel updates to use an mcu buffer so that more than 18 LEDs can be in a chain. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Use new GCodeCommand wrappersKevin O'Connor2020-05-051-11/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Allow host software to configure neopixel timingKevin O'Connor2020-04-151-2/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for delaying updates in SET_LED commandKevin O'Connor2019-12-151-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for WS2811 RGB pixel color orderKevin O'Connor2019-08-091-14/+17
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Rework timing so that it works on AVR micro-controllersKevin O'Connor2019-08-071-3/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Use low priority for LED updatesKevin O'Connor2019-08-061-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* dotstar: Initial support for "dotstar" LEDsKevin O'Connor2019-08-061-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for daisy-chained chipsKevin O'Connor2019-07-231-2/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add support for setting a default color at startupKevin O'Connor2019-07-231-3/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Warn that the neopixel isn't currently supported on AVRKevin O'Connor2019-07-171-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Improve timing of gpio bit-bangingKevin O'Connor2019-07-171-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Optimize the update loopKevin O'Connor2019-07-121-3/+3
| | | | | | Optimize the transmit code so it can run on some slower ARM cpus. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* neopixel: Add initial support for "neopixel" ledsKevin O'Connor2019-07-121-0/+45
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>