diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2024-09-03 22:11:03 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-09-12 13:15:01 -0400 |
commit | 293858c51fc51c998a046ba12c00da0418fb8403 (patch) | |
tree | 54c0b2acd27f7a899abee7325068b7acecc57202 /test | |
parent | 14a83103c32fe1590b5b0416f71d1445648c58ed (diff) | |
download | kutter-293858c51fc51c998a046ba12c00da0418fb8403.tar.gz kutter-293858c51fc51c998a046ba12c00da0418fb8403.tar.xz kutter-293858c51fc51c998a046ba12c00da0418fb8403.zip |
hx71x: Avoid base classes to improve python2 compatibility
Also, add a load_cell regression test case.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'test')
-rw-r--r-- | test/klippy/load_cell.cfg | 23 | ||||
-rw-r--r-- | test/klippy/load_cell.test | 5 |
2 files changed, 28 insertions, 0 deletions
diff --git a/test/klippy/load_cell.cfg b/test/klippy/load_cell.cfg new file mode 100644 index 00000000..fa599d10 --- /dev/null +++ b/test/klippy/load_cell.cfg @@ -0,0 +1,23 @@ +# Test config for load_cell +[mcu] +serial: /dev/ttyACM0 + +[printer] +kinematics: none +max_velocity: 300 +max_accel: 3000 + +[load_cell my_ads1220] +sensor_type: ads1220 +cs_pin: PA0 +data_ready_pin: PA1 + +[load_cell my_hx711] +sensor_type: hx711 +sclk_pin: PA2 +dout_pin: PA3 + +[load_cell my_hx717] +sensor_type: hx717 +sclk_pin: PA4 +dout_pin: PA5 diff --git a/test/klippy/load_cell.test b/test/klippy/load_cell.test new file mode 100644 index 00000000..880f840a --- /dev/null +++ b/test/klippy/load_cell.test @@ -0,0 +1,5 @@ +# Tests for loadcell sensors +DICTIONARY atmega2560.dict +CONFIG load_cell.cfg + +G4 P1000 |