diff options
author | Gareth Farrington <gareth@waves.ky> | 2024-06-02 22:31:28 -0700 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2024-07-31 21:22:06 -0400 |
commit | c0095812ff18687ed25ce0f1ed468ebed8f81cfe (patch) | |
tree | cb57572e351128f439789306f2b9b99bb7ccba65 /docs/API_Server.md | |
parent | 0844388d70f225f6458382c1c5d4e7eb37767758 (diff) | |
download | kutter-c0095812ff18687ed25ce0f1ed468ebed8f81cfe.tar.gz kutter-c0095812ff18687ed25ce0f1ed468ebed8f81cfe.tar.xz kutter-c0095812ff18687ed25ce0f1ed468ebed8f81cfe.zip |
hx71x: Load Cell Skeleton and HX71x bulk ADC
* Create the load_cell host module skeleton to create the sensors and start taking samples.
* Add support for the HX717 and HX711 ADC sensors.
Signed-off-by: Gareth Farrington <gareth@waves.ky>
Diffstat (limited to 'docs/API_Server.md')
-rw-r--r-- | docs/API_Server.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/API_Server.md b/docs/API_Server.md index cc0922e3..36d67b1a 100644 --- a/docs/API_Server.md +++ b/docs/API_Server.md @@ -364,6 +364,21 @@ and might later produce asynchronous messages such as: The "header" field in the initial query response is used to describe the fields found in later "data" responses. +### hx71x/dump_hx71x + +This endpoint is used to subscribe to raw HX711 and HX717 ADC data. +Obtaining these low-level ADC updates may be useful for diagnostic +and debugging purposes. Using this endpoint may increase Klipper's +system load. + +A request may look like: +`{"id": 123, "method":"hx71x/dump_hx71x", +"params": {"sensor": "load_cell", "response_template": {}}}` +and might return: +`{"id": 123,"result":{"header":["time","counts"]}}` +and might later produce asynchronous messages such as: +`{"params":{"data":[[3292.432935, 562534], [3292.4394937, 5625322]]}}` + ### pause_resume/cancel This endpoint is similar to running the "PRINT_CANCEL" G-Code command. |