lm75: Added support for LM75/LM75A I2C connected temperature sensors (#3101)

Signed-off-by: Boleslaw Ciesielski <combolek@users.noreply.github.com>
This commit is contained in:
combolek 2020-07-19 17:18:54 -07:00 committed by GitHub
parent b0901daa85
commit 3835654116
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 132 additions and 1 deletions

View file

@ -261,7 +261,7 @@ class PrinterHeaters:
return self.heaters[heater_name]
def setup_sensor(self, config):
modules = ["thermistor", "adc_temperature", "spi_temperature",
"bme280", "htu21d"]
"bme280", "htu21d", "lm75"]
for module_name in modules:
self.printer.load_object(config, module_name)
sensor_type = config.get('sensor_type')