Skip to content

Instantly share code, notes, and snippets.

@bistory
Created July 14, 2022 05:33
Show Gist options
  • Save bistory/dde466c4db4785b13cbfcc1fd4e35daf to your computer and use it in GitHub Desktop.
Save bistory/dde466c4db4785b13cbfcc1fd4e35daf to your computer and use it in GitHub Desktop.
Section Led Control pour le fichier printer.cfg
#####################################################################
# LED Control
#####################################################################
[neopixel caselight]
pin: PD3
# The pin connected to the neopixel. This parameter must be
# provided.
chain_count: 54
# 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. Options are GRB,
# RGB, GRBW, or RGBW. The default is GRB.
initial_RED: 0.0
initial_GREEN: 0.0
initial_BLUE: 0.0
initial_WHITE: 0.0
# Sets the initial LED color of the Neopixel. Each value should be
# between 0.0 and 1.0. The WHITE option is only available on RGBW
# LEDs. The default for each color is 0.#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment