forked from julianschill/CeBe_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathledcontrol.cfg
84 lines (75 loc) · 2.48 KB
/
ledcontrol.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
[gcode_macro SET_LEDCONTROL]
# Primary Patterns:
# 0: "Solid Color"
# 1: "Palette Gradient"
# 10: "Cycle Hue 1D"
# 20: "Cycle Hue Quantized 1D"
# 30: "Cycle Palette 1D"
# 31: "Cycle Palette Mirrored 1D"
# 32: "Cycle Palette Quantized 1D"
# 33: "Cycle Palette Random 1D"
# 40: "RGB Sines 1D"
# 50: "RGB Cubics 1D"
# 60: "Cycle Blackbody 1D"
# 70: "Bounce Hue 1D"
# 71: "Bounce Palette 1D"
# 80: "RGB Ripples 1 1D"
# 90: "RGB Plasma (Spectrum) 1D"
# 100: "RGB Plasma (Fire) 1D"
# 110: "RGB Octave Plasma (Fire) 1D"
# 120: "HSV Waves 1D"
# 121: "Palette Waves 1D"
# 130: "HSV Ripples 1 1D"
# 131: "Palette Ripples 1 1D"
# 140: "Palette Twinkle 1D"
# Secondary Patterns:
# 0: None
# 1: Sine 1D
# 2: Cubic 1D
# 3: Ramp 1D
# 4: Bounce Linear 1D
# 5: Bounce Sine 1D
# 6: Bounce Cubic 1D
# 7: Perlin Noise 2D
# 8: Twinkle Pulse 1D
# 9: Wipe Across 1D
# 10: Wipe From Center 1D
# 11: Wipe From Ends 1D
# Palettes:
# 0: Sunset
# 1: Spectrum
# 2: Fire
default_parameter_BRIGHTNESS: ""
default_parameter_COLOR_TEMP: ""
default_parameter_SATURATION: ""
default_parameter_PRIMARY_PATTERN: ""
default_parameter_PRIMARY_SPEED: ""
default_parameter_PRIMARY_SCALE: ""
default_parameter_SECONDARY_PATTERN: ""
default_parameter_SECONDARY_SPEED: ""
default_parameter_SECONDARY_SCALE: ""
default_parameter_PALETTE: ""
gcode:
{action_call_remote_method("set_led",
brightness=BRIGHTNESS,
color_temp=COLOR_TEMP,
saturation=SATURATION,
primary_pattern=PRIMARY_PATTERN,
primary_speed=PRIMARY_SPEED,
primary_scale=PRIMARY_SCALE,
secondary_pattern=SECONDARY_PATTERN,
secondary_speed=SECONDARY_SPEED,
secondary_scale=SECONDARY_SCALE,
palette=PALETTE)}
[gcode_macro LED_DARK]
gcode:
SET_LEDCONTROL BRIGHTNESS=0 SATURATION=1 PRIMARY_PATTERN=0 PRIMARY_SCALE=0 PRIMARY_SPEED=0 SECONDARY_PATTERN=0 SECONDARY_SPEED=0 SECONDARY_SCALE=0 PALETTE=1
[gcode_macro LED_LIGHT]
gcode:
SET_LEDCONTROL BRIGHTNESS=1 SATURATION=0 PRIMARY_PATTERN=0 PRIMARY_SCALE=0 PRIMARY_SPEED=0 SECONDARY_PATTERN=0 SECONDARY_SPEED=0 SECONDARY_SCALE=0 PALETTE=1
[gcode_macro LED_DISCO]
gcode:
SET_LEDCONTROL BRIGHTNESS=1 SATURATION=1 PRIMARY_PATTERN=40 PRIMARY_SCALE=10 PRIMARY_SPEED=0.5 SECONDARY_PATTERN=5 SECONDARY_SPEED=2 SECONDARY_SCALE=0 PALETTE=1
[gcode_macro LED_RGB]
gcode:
SET_LEDCONTROL BRIGHTNESS=1 SATURATION=1 PRIMARY_PATTERN=10 PRIMARY_SCALE=0.5 PRIMARY_SPEED=0.5 SECONDARY_PATTERN=0 SECONDARY_SPEED=0 SECONDARY_SCALE=0 PALETTE=1