config: Don't use deprecated features in sample-pwm-tool.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
7937678cb3
commit
a33d0697b6
|
@ -18,14 +18,14 @@ maximum_mcu_duration: 5
|
|||
# needs to be in default speed.
|
||||
|
||||
[gcode_macro M3]
|
||||
default_parameter_S: 0
|
||||
gcode:
|
||||
SET_PIN PIN=TOOL VALUE={S|float / 255}
|
||||
{% set S = params.S|default(0.0)|float %}
|
||||
SET_PIN PIN=TOOL VALUE={S / 255.0}
|
||||
|
||||
[gcode_macro M4]
|
||||
default_parameter_S: 0
|
||||
gcode:
|
||||
SET_PIN PIN=TOOL VALUE={S|float / 255}
|
||||
{% set S = params.S|default(0.0)|float %}
|
||||
SET_PIN PIN=TOOL VALUE={S / 255.0}
|
||||
|
||||
[gcode_macro M5]
|
||||
gcode:
|
||||
|
|
Loading…
Reference in New Issue