spi_temperature: fix MAX31865 temperature conversion (#3274)

Signed-off-by: Adrian Keet <arkeet@gmail.com>
This commit is contained in:
Adrian Keet 2020-09-02 06:32:30 -07:00 committed by GitHub
parent 7c5b108531
commit 37d7742468
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View File

@ -6,6 +6,10 @@ All dates in this document are approximate.
# Changes # Changes
20200902: The RTD resistance-to-temperature calculation for MAX31865
converters has been corrected to not read low. If you are using such a
device, you should recalibrate your print temperature and PID settings.
20200816: The gcode macro `printer.gcode` object has been renamed to 20200816: The gcode macro `printer.gcode` object has been renamed to
`printer.gcode_move`. Several undocumented variables in `printer.gcode_move`. Several undocumented variables in
`printer.toolhead` and `printer.gcode` have been removed. See `printer.toolhead` and `printer.gcode` have been removed. See

View File

@ -268,7 +268,7 @@ MAX31865_FAULT_RTDINLOW = 0x08
MAX31865_FAULT_OVUV = 0x04 MAX31865_FAULT_OVUV = 0x04
VAL_A = 0.00390830 VAL_A = 0.00390830
VAL_B = 0.0000005775 VAL_B = -0.0000005775
VAL_C = -0.00000000000418301 VAL_C = -0.00000000000418301
VAL_ADC_MAX = 32768.0 # 2^15 VAL_ADC_MAX = 32768.0 # 2^15