Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PWM Case Lighting (Dayspring/V3D) #115

Open
wants to merge 2 commits into
base: v2.x
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions boards/btt-manta-e3ez/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PB2,
heater_bed_sensor_pin=PA3,
# LEDs
white_led_pin=PB10,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-manta-m4p/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD8,
heater_bed_sensor_pin=PC4 ,
# LEDs
# white_led_pin= not supported (insufficient pins)

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-manta-m8p/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PB7,
heater_bed_sensor_pin=PA0 ,
# LEDs
# white_led_pin=PE5, (z3_enable_pin conflict)

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-octopus-11-407/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PA1,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD13,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-octopus-11/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PA1,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD13,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-octopus-pro-429/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PA1,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD13,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-octopus-pro-446/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PA1,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD13,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-octopus-pro-h723/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PA1,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD13,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-14-turbo/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=P2.5,
heater_bed_sensor_pin=P0.25,
# LEDs
white_led_pin=2.4,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-2-407/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD7,
heater_bed_sensor_pin=PA1,
# LEDs
white_led_pin=PB4,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-2-429/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD7,
heater_bed_sensor_pin=PA1,
# LEDs
white_led_pin=PB4,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-3-ez/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD7,
heater_bed_sensor_pin=PA1,
# LEDs
white_led_pin=PB4,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-3/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD7,
heater_bed_sensor_pin=PA1,
# LEDs
white_led_pin=PB4,

## Expansion ports
# EXP1 header
Expand Down
3 changes: 3 additions & 0 deletions boards/btt-skr-mini-e3-30/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ aliases:

# PS-ON header
PS_ON_1=<GND>, PS_ON_2=PC13

# LEDs
#white_led_pin= not supported (insufficient pins),

[mcu]
baud: 250000
Expand Down
2 changes: 2 additions & 0 deletions boards/btt-skr-pro-12/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PD12,
heater_bed_sensor_pin=PF3,
# LEDs
white_led_pin=PD14,

## Expansion ports
# EXP1 header
Expand Down
2 changes: 2 additions & 0 deletions boards/fysetc-cheetah-v2/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PC7,
heater_bed_sensor_pin=PC5,
# LEDs
# white_led_pin=not supported (insufficient pins),

## Expansion ports

Expand Down
2 changes: 2 additions & 0 deletions boards/fysetc-spider/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ aliases:
# Bed heater
heater_bed_heating_pin=PB4,
heater_bed_sensor_pin=PC3,
# LEDs
white_led_pin=PD3,

## Expansion ports
# taken from https://github.com/KevinOConnor/klipper/blob/master/config/generic-fysetc-spider.cfg
Expand Down
10 changes: 10 additions & 0 deletions lighting/white_led.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[output_pin caselight]
pin: white_led_pin
pwm:true
shutdown_value: 0
value:0.3
cycle_time: 0.0025
5 changes: 5 additions & 0 deletions templates/v-core-3-printer.template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ variable_pause_print_park_in: "back"
# Set the speed for travel moves in RatOS Macros in mm/s.
variable_macro_travel_speed: 300

#############################################################################################################
### LIGHTING CONFIGURATION
#############################################################################################################
#[include RATOS/lighting/white_led.cfg]


#############################################################################################################
### PRINTER CONFIGURATION
Expand Down
4 changes: 4 additions & 0 deletions templates/v-core-pro-printer.template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ variable_pause_print_park_in: "back"
# Set the speed for travel moves in RatOS Macros in mm/s.
variable_macro_travel_speed: 300

#############################################################################################################
### LIGHTING CONFIGURATION
#############################################################################################################
#[include RATOS/lighting/white_led.cfg]

#############################################################################################################
### PRINTER CONFIGURATION
Expand Down
5 changes: 5 additions & 0 deletions templates/v-minion-printer.template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ variable_pause_print_park_in: "front"
# Set the speed for travel moves in RatOS Macros in mm/s.
variable_macro_travel_speed: 300

#############################################################################################################
### LIGHTING CONFIGURATION
#############################################################################################################
#[include RATOS/lighting/white_led.cfg]


#############################################################################################################
### PRINTER CONFIGURATION
Expand Down
4 changes: 4 additions & 0 deletions templates/voron-v01-printer.template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ variable_pause_print_park_in: "back"
# Set the speed for travel moves in RatOS Macros in mm/s.
variable_macro_travel_speed: 300

#############################################################################################################
### LIGHTING CONFIGURATION
#############################################################################################################
#[include RATOS/lighting/white_led.cfg]

#############################################################################################################
### PRINTER CONFIGURATION
Expand Down
5 changes: 5 additions & 0 deletions templates/voron-v24-printer.template.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ variable_pause_print_park_in: "back"
# Set the speed for travel moves in RatOS Macros in mm/s.
variable_macro_travel_speed: 300

#############################################################################################################
### LIGHTING CONFIGURATION
#############################################################################################################
#[include RATOS/lighting/white_led.cfg]


#############################################################################################################
### PRINTER CONFIGURATION
Expand Down