Fix: SET_PIN VALUE must be 0 or 1 for digital pins (not 0-255)

Digital output pins (pwm: False) only accept values 0 or 1,
not 0-255 like PWM pins.

Fixed macros:
- Frame_Light_ON: VALUE=255 → VALUE=1
- Frame_Light_OFF: VALUE=0 (correct)
- Part_Light_ON: VALUE=255 → VALUE=1
- Part_Light_OFF: VALUE=0 (correct)
This commit is contained in:
root 2026-03-13 14:44:23 +00:00
parent d3c1a0d5b7
commit 62ad32b3e7

View file

@ -84,7 +84,7 @@ gcode:
[gcode_macro Frame_Light_ON]
description: Turn on frame LED lights
gcode:
SET_PIN PIN=frame_light VALUE=255
SET_PIN PIN=frame_light VALUE=1
[gcode_macro Frame_Light_OFF]
description: Turn off frame LED lights
@ -97,7 +97,7 @@ gcode:
[gcode_macro Part_Light_ON]
description: Turn on part cooling fan light
gcode:
SET_PIN PIN=part_light VALUE=255
SET_PIN PIN=part_light VALUE=1
[gcode_macro Part_Light_OFF]
description: Turn off part cooling fan light