-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathled.cfg
More file actions
44 lines (34 loc) · 1.14 KB
/
Copy pathled.cfg
File metadata and controls
44 lines (34 loc) · 1.14 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
##################
#### NEOPIXEL ####
##################
[neopixel my_neopixel]
pin: PA8
chain_count: 6
color_order: GRB
initial_RED: 0.5
initial_GREEN: 0.5
initial_BLUE: 0.5
[gcode_macro red]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=1.0 GREEN=0.0 BLUE=0.0 TRANSMIT=1
[gcode_macro green]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=0.0 GREEN=1.0 BLUE=0.0 TRANSMIT=1
[gcode_macro blue]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=0.0 GREEN=0.75 BLUE=1.0 TRANSMIT=1
[gcode_macro white]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=0.80 GREEN=0.80 BLUE=0.80 TRANSMIT=1
[gcode_macro yellow]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=1.0 GREEN=1.0 BLUE=0 TRANSMIT=1
[gcode_macro ledoff]
# turn on Red full brightness, turn off all other LED colours
gcode:
SET_LED LED=my_neopixel RED=0.0 GREEN=0.0 BLUE=0.0 TRANSMIT=1