diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 19:23:20 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-11-07 19:28:27 -0500 |
commit | 0bfb655f665c2f29efa14c28d4dc5c47f151d09a (patch) | |
tree | a0b3b006ef33c1db0d65c3459ce10c7a2d757585 /docs/G-Codes.md | |
parent | 124ba12485c7f4720959270b3151a5ebbcb7cf6b (diff) | |
download | kutter-0bfb655f665c2f29efa14c28d4dc5c47f151d09a.tar.gz kutter-0bfb655f665c2f29efa14c28d4dc5c47f151d09a.tar.xz kutter-0bfb655f665c2f29efa14c28d4dc5c47f151d09a.zip |
query_adc: Add a new module to help query and debug analog pins
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r-- | docs/G-Codes.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md index b01d6487..7cd4b02b 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -101,6 +101,11 @@ The following standard commands are supported: - `QUERY_ENDSTOPS`: Probe the axis endstops and report if they are "triggered" or in an "open" state. This command is typically used to verify that an endstop is working correctly. +- `QUERY_ADC [NAME=<config_name>] [PULLUP=<value>]`: Report the last + analog value received for a configured analog pin. If NAME is not + provided, the list of available adc names are reported. If PULLUP is + provided (as a value in Ohms), the raw analog value along with the + equivalent resistance given that pullup is reported. - `GET_POSITION`: Return information on the current location of the toolhead. - `SET_GCODE_OFFSET [X=<pos>|X_ADJUST=<adjust>] |