Jump to content

Mini12864 LCD Color Change


hopeinformer

Recommended Posts


[neopixel btt_mini12864]
##  To control Neopixel RGB in mini12864 display
pin: EXP1_6
chain_count: 3
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
color_order: RGB

That's in the "Displays" section of your Klipper config file; This will give you white RGB = 1,1,1

  • Thanks 1
Link to comment
Share on other sites

25 minutes ago, hopeinformer said:

Does anyone know how to change the LCD's backlight color? It's starts up on blue and changes to red, which is good for the typical color of Voron but my build is a dark gray with bright yellow accent parts. Blue or green wouldn't be so bad but I would really like a yellow, or even white.

Welcome BTW

Link to comment
Share on other sites

10 minutes ago, Simon2.4 said:

[neopixel btt_mini12864]
##  To control Neopixel RGB in mini12864 display
pin: EXP1_6
chain_count: 3
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
color_order: RGB

That's in the "Displays" section of your Klipper config file; This will give you white RGB = 1,1,1

Thank you. I tried that but for some reason it starts up with the white then after it boots it's right back to red.

Link to comment
Share on other sites

Big time help. Thank you.  1 for red and 1 green then a 0 for blue gave me the yellow I was looking for.

I also found that if you keep the initial_duration to 1 then change these colors below, it also does the trick. INDEX 3 is suppose to be the screen. I preferred to just set the duration to 0 but it's nice to know I can change the color of the knob too.

SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=1 INDEX=1 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=0 INDEX=2 TRANSMIT=0
SET_LED LED=btt_mini12864 RED=1 GREEN=1 BLUE=0 INDEX=3 

 

Link to comment
Share on other sites

I got my breakout board today for the Mini 12864 - - got up and working but have no clue how to change the colors.

There is no menu option so I presume cfg is the only way.

Here is how its listed on mine... appears all white.

[neopixel fysetc_mini12864]
#    To control Neopixel RGB in mini12864 display
pin: PA15
chain_count: 3
initial_RED: 1
initial_GREEN: 1
initial_BLUE: 1
color_order: RGB

 

Link to comment
Share on other sites

I found it.

 

 

[neopixel]

Neopixel (aka WS2812) LED support (one may define any number of sections with a "neopixel" prefix). One may set the LED color via "SET_LED LED=my_neopixel RED=0.1 GREEN=0.1 BLUE=0.1" type extended g-code commands.

[neopixel my_neopixel]
pin:
#   The pin connected to the neopixel. This parameter must be
#   provided.
#chain_count:
#   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: GRB
#   Set the pixel order required by the LED hardware. Options are GRB,
#   RGB, BRG, 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.

 

 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...