forked from Laker87/klipper_config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
leds.cfg
57 lines (51 loc) · 1.09 KB
/
leds.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
#####################################################################
# LED Control
#####################################################################
[neopixel fan_led]
pin: PD3
chain_count: 24
color_order: GRB
initial_RED: 1.0
initial_GREEN: 1.0
initial_BLUE: 1.0
[led caselight]
red_pin: PB6
green_pin: PB5
blue_pin: PB7
cycle_time: 0.010
#hardware_pwm: False
initial_RED: 1.0
initial_GREEN: 0.5
initial_BLUE: 0.25
[display_template led_heating_progress]
text:
{% set v = printer.extruder.temperature / 300.0 %}
{% if v < 1.0 %}
v, 0.0, 0.0
{% else %}
1.0, 0.0, 0.0
{% endif %}
# [output_pin Red]
# ## Chamber Lighting Red
# pin: PB6
# pwm: True
# shutdown_value: 0
# value: 1.0
# #hardware_pwm: True
# cycle_time: 0.01
# [output_pin Green]
# ## Chamber Lighting Green
# pin: PB5
# pwm: True
# shutdown_value: 0
# value: 0.5
# #hardware_pwm: True
# cycle_time: 0.01
# [output_pin Blue]
# ## Chamber Lighting Blue
# pin: PB7
# pwm: True
# shutdown_value: 0
# value: 0.25
# #hardware_pwm: True
# cycle_time: 0.01