linuxtest: Add a test case for the ds18b20 sensor

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2022-06-08 18:06:12 -04:00
parent 33ecc6d62e
commit f42ce3e2fd
2 changed files with 20 additions and 0 deletions

15
test/klippy/linuxtest.cfg Normal file
View File

@ -0,0 +1,15 @@
# Test config for linux process specific hardware
[mcu]
serial: /tmp/klipper_host_mcu
[printer]
kinematics: none
max_velocity: 300
max_accel: 3000
[temperature_sensor my_ds18b20]
min_temp: 0
max_temp: 100
serial_no: 12345678
sensor_mcu: mcu
sensor_type: DS18B20

View File

@ -0,0 +1,5 @@
# Tests for various temperature sensors
DICTIONARY linuxprocess.dict
CONFIG linuxtest.cfg
G4 P1000