-
Notifications
You must be signed in to change notification settings - Fork 0
/
displays.cfg
31 lines (28 loc) · 1.02 KB
/
displays.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#####################################################################
# Displays
#####################################################################
[display]
## mini12864 LCD Display
lcd_type: uc1701
cs_pin: z:P1.18
a0_pin: z:P1.19
encoder_pins: ^z:P3.25,^z:P3.26
click_pin: ^!z:P0.28
contrast: 63
menu_reverse_navigation: true
[neopixel fysetc_mini12864]
# To control Neopixel RGB in mini12864 display
pin: z:P1.21
chain_count: 3
initial_RED: 1.0
initial_GREEN: 0.0
initial_BLUE: 0.0
color_order: RGB
# Set RGB values on boot up for each Neopixel.
# Index 1 = display, Index 2 and 3 = Knob
[delayed_gcode setdisplayneopixel]
initial_duration: 1
gcode:
SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=1 TRANSMIT=0 # Backlit Screen colour
SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=2 TRANSMIT=0 # Top left Knob colour
SET_LED LED=fysetc_mini12864 RED=1 GREEN=0 BLUE=0 INDEX=3 # Bottom right knob colour