mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-13 03:39:56 +01:00
adc_temperature: Add support for linear interpolation of resistances
Add support for performing linear interpolation between a set of measured temperature/resistance pairs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -117,6 +117,22 @@ control: watermark
|
||||
sensor_type: my_custom_adc
|
||||
sensor_pin: analog4
|
||||
|
||||
[adc_temperature my_custom_resistance_adc]
|
||||
temperature1: 25
|
||||
resistance1: 1000
|
||||
temperature2: 100
|
||||
resistance2: 2000
|
||||
temperature3: 250
|
||||
resistance3: 3000
|
||||
|
||||
[temperature_fan test_custom_resistance_adc]
|
||||
pin: ar17
|
||||
min_temp: 0
|
||||
max_temp: 100
|
||||
control: watermark
|
||||
sensor_type: my_custom_resistance_adc
|
||||
sensor_pin: analog5
|
||||
|
||||
[mcu]
|
||||
serial: /dev/ttyACM0
|
||||
pin_map: arduino
|
||||
|
||||
Reference in New Issue
Block a user