Skip to content

Commit

Permalink
update cfg
Browse files Browse the repository at this point in the history
  • Loading branch information
Lzhikai committed Aug 24, 2024
1 parent df7d66d commit 271a024
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_2WD_300_Model_2240.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,14 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}

#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_2WD_300_Model_5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_2WD_350_Model_2240.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_2WD_350_Model_5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_AWD_300_Model_2240.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_AWD_300_Model_5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
8 changes: 8 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_AWD_350_Model_2240.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -424,6 +424,14 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}

#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down
9 changes: 9 additions & 0 deletions Configure/Printer.cfg/Trident_JUNE_AWD_350_Model_5160.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,15 @@ cycle_time: 0.01 # Cycle time
hardware_pwm: false # hardware pwm
kick_start_time: 0.5 # start-up time (Please do not change)

#--------------------------------------------------------------------

[gcode_macro M106]
gcode:
{% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %}
{% set speed = (params.S|float / 255 if params.S is defined else 1.0) %}
SET_FAN_SPEED FAN={fan} SPEED={speed}


#####################################################################
## RGB-LED Lights
#####################################################################
Expand Down

0 comments on commit 271a024

Please sign in to comment.