aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/ads1220.py
diff options
context:
space:
mode:
authorGareth Farrington <gareth@waves.ky>2025-03-20 16:53:44 -0700
committerGitHub <noreply@github.com>2025-03-20 19:53:44 -0400
commit06d65ef5ac139e2c84e7381c190ee2b1e4ec4237 (patch)
tree757285e437b6d53673a3560d3b1cad18f7cc4e0c /klippy/extras/ads1220.py
parentd886c1761bbdfd23833996489afba6b75f312a4a (diff)
downloadkutter-06d65ef5ac139e2c84e7381c190ee2b1e4ec4237.tar.gz
kutter-06d65ef5ac139e2c84e7381c190ee2b1e4ec4237.tar.xz
kutter-06d65ef5ac139e2c84e7381c190ee2b1e4ec4237.zip
load_cell: Load cell gram scale (#6729)
* Add gram scale features to load_cell * Convert sensor counts to grams and make this available via unix socket and object status * Basic GCodes for tearing and reading the load cell * Guided Calibration * Diagnostic gcode to check the health of the load cell * Update load_cell Documentation * Add API server load_cell/dump_force endpoint * Update [load_cell] config with calibration fields * Add G-Code commands for working with load cells * Add status reference for load_cell objects Signed-off-by: Gareth Farrington <gareth@waves.ky>
Diffstat (limited to 'klippy/extras/ads1220.py')
-rw-r--r--klippy/extras/ads1220.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/klippy/extras/ads1220.py b/klippy/extras/ads1220.py
index fcae78bc..75fcbfd2 100644
--- a/klippy/extras/ads1220.py
+++ b/klippy/extras/ads1220.py
@@ -95,10 +95,6 @@ class ADS1220:
self.batch_bulk = bulk_sensor.BatchBulkHelper(
self.printer, self._process_batch, self._start_measurements,
self._finish_measurements, UPDATE_INTERVAL)
- # publish raw samples to the socket
- hdr = {'header': ('time', 'counts', 'value')}
- self.batch_bulk.add_mux_endpoint("ads1220/dump_ads1220", "sensor",
- self.name, hdr)
# Command Configuration
mcu.add_config_cmd(
"config_ads1220 oid=%d spi_oid=%d data_ready_pin=%s"