Skip to content

Commit

Permalink
add loadcell test
Browse files Browse the repository at this point in the history
  • Loading branch information
bwnance authored and rogerlz committed Sep 23, 2024
1 parent b25a86e commit 0ebcfb7
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
19 changes: 19 additions & 0 deletions test/klippy/load_cell.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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
4 changes: 4 additions & 0 deletions test/klippy/load_cell.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Tests for loadcell sensors
DICTIONARY atmega2560.dict
CONFIG load_cell.cfg
G4 P1000

0 comments on commit 0ebcfb7

Please sign in to comment.