diff options
Diffstat (limited to 'klippy/extras/temperature_mcu.py')
-rw-r--r-- | klippy/extras/temperature_mcu.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/klippy/extras/temperature_mcu.py b/klippy/extras/temperature_mcu.py index 9e1005a7..349050a9 100644 --- a/klippy/extras/temperature_mcu.py +++ b/klippy/extras/temperature_mcu.py @@ -64,6 +64,7 @@ class PrinterTemperatureMCU: cfg_funcs = [ ('rp2040', self.config_rp2040), ('sam3', self.config_sam3), ('sam4', self.config_sam4), + ('same70', self.config_same70), ('samd21', self.config_samd21), ('samd51', self.config_samd51), ('stm32f1', self.config_stm32f1), ('stm32f2', self.config_stm32f2), ('stm32f4', self.config_stm32f4), @@ -100,6 +101,9 @@ class PrinterTemperatureMCU: def config_sam4(self): self.slope = 3.3 / .004700 self.base_temperature = self.calc_base(27., 1.44 / 3.3) + def config_same70(self): + self.slope = 3.3 / .002330 + self.base_temperature = self.calc_base(25., 0.72 / 3.3) def config_samd21(self, addr=0x00806030): def get1v(val): if val & 0x80: |