From 0bfb655f665c2f29efa14c28d4dc5c47f151d09a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 7 Nov 2019 19:23:20 -0500 Subject: query_adc: Add a new module to help query and debug analog pins Signed-off-by: Kevin O'Connor --- docs/G-Codes.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/G-Codes.md') 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=] [PULLUP=]`: 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=|X_ADJUST=] -- cgit v1.2.3-70-g09d2