diff --git a/klippy/extras/output_pin.py b/klippy/extras/output_pin.py index 62e72f99..dbc1fab4 100644 --- a/klippy/extras/output_pin.py +++ b/klippy/extras/output_pin.py @@ -39,6 +39,8 @@ class PrinterOutputPin: self.gcode.register_mux_command("SET_PIN", "PIN", pin_name, self.cmd_SET_PIN, desc=self.cmd_SET_PIN_help) + def get_status(self, eventtime): + return {'value': self.last_value} cmd_SET_PIN_help = "Set the value of an output pin" def cmd_SET_PIN(self, params): value = self.gcode.get_float('VALUE', params,