mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 21:27:53 -06:00
thermocouple: Add initial support for common SPI temperature sensing chips
Signed-off-by: Petri Honkala <cruwaller@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
940db6bd70
commit
eba252d3fd
8 changed files with 583 additions and 4 deletions
|
@ -243,6 +243,7 @@ class PrinterHeaters:
|
|||
def setup_sensor(self, config):
|
||||
self.printer.try_load_module(config, "thermistor")
|
||||
self.printer.try_load_module(config, "adc_temperature")
|
||||
self.printer.try_load_module(config, "spi_temperature")
|
||||
sensor_type = config.get('sensor_type')
|
||||
if sensor_type not in self.sensors:
|
||||
raise self.printer.config_error("Unknown temperature sensor '%s'" % (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue