Logo
Explore Help
Register Sign In
Druk-3D/klipper
1
0
Fork 0
You've already forked klipper
mirror of https://github.com/Klipper3d/klipper.git synced 2025-11-02 03:16:02 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
5f96f8a29b3e5d49b69c41b51a8dcc218d6be1a5
klipper/klippy/extras/heater_generic.py

10 lines
302 B
Python
Raw Normal View History

Generic Heater Support Adds the ability to register a custom/generic heater through a new extra called heater_generic. This takes a gcode_id that is reported by M105. Adds a new command to set the temperature for any heater using the syntax: SET_HEATER_TEMPERATURE HEATER=<heater_name> TARGET=<target_temp> Signed-off-by: John Jardine <john@gprime.net>
2019-02-14 01:15:11 +00:00
# Support for a generic heater
#
# Copyright (C) 2019 John Jardine <john@gprime.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
def load_config_prefix(config):
klippy: Rename try_load_module() to load_object() Rename try_load_module() so that it uses consistent naming for "printer objects". Change the function to raise an error by default if the specified module does not exist. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-05-05 14:10:30 -04:00
pheaters = config.get_printer().load_object(config, 'heaters')
heaters: Make heater.py an "extras" module The heater logic is an independent module that does not need to be treated as part of the "core" klipper code. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2020-04-25 13:27:41 -04:00
return pheaters.setup_heater(config)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0 Page: 68ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API