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>
This commit is contained in:
23
test/klippy/load_cell.cfg
Normal file
23
test/klippy/load_cell.cfg
Normal file
@@ -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
|
||||
5
test/klippy/load_cell.test
Normal file
5
test/klippy/load_cell.test
Normal file
@@ -0,0 +1,5 @@
|
||||
# Tests for loadcell sensors
|
||||
DICTIONARY atmega2560.dict
|
||||
CONFIG load_cell.cfg
|
||||
|
||||
G4 P1000
|
||||
Reference in New Issue
Block a user