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-16 10:16:05 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
e310e5f0e88aa5b51edbe837bfc6aa0ee6006875
klipper/klippy/extras/heater_bed.py

10 lines
292 B
Python
Raw Normal View History

heater: Add PrinterHeaters class that stores all sensors and heaters Add a PrinterHeaters class that can stores references to available temperature sensors and stores references to instantiated heaters. Add a extras/heater_bed.py file and delay instantiation of the heater_bed object. This allows the heater.py module to be imported earlier during the setup phase, and allows the PrinterHeaters class to be available for registering sensors and heaters. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2018-04-03 17:01:10 -04:00
# Support for a heated bed
#
# Copyright (C) 2018 Kevin O'Connor <kevin@koconnor.net>
#
# This file may be distributed under the terms of the GNU GPLv3 license.
def load_config(config):
heater_bed: Wrap lines to 80 columns Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-02-26 11:20:01 -05:00
pheater = config.get_printer().lookup_object('heater')
return pheater.setup_heater(config, 'B')
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 99ms 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