Newer
Older
jeltz-klipper-config / config / leds.cfg
[neopixel printhead]
pin:  printHead:PD3
#   The pin connected to the neopixel. This parameter must be
#   provided.
chain_count: 3
#   The number of Neopixel chips that are "daisy chained" to the
#   provided pin. The default is 1 (which indicates only a single
#   Neopixel is connected to the pin).
color_order: GRBW
#   Set the pixel order required by the LED hardware (using a string
#   containing the letters R, G, B, W with W optional). Alternatively,
#   this may be a comma separated list of pixel orders - one for each
#   LED in the chain. The default is GRB.
initial_RED: 1
initial_GREEN: 1
initial_BLUE: 1
initial_WHITE: 1
#   See the "led" section for information on these parameters.

[led chamber]
white_pin: PA0
cycle_time: 0.010
#hardware_pwm: False
#   Enable this to use hardware PWM instead of software PWM. When
#   using hardware PWM the actual cycle time is constrained by the
#   implementation and may be significantly different than the
#   requested cycle_time. The default is False.
initial_WHITE: 1

[led_effect rainbow]
leds:
  neopixel:printhead
layers:
  static 10 1 top (1,1,1)
autostart: true
frame_rate:20