diff options
author | Dmitry Butyugin <dmbutyugin@google.com> | 2021-03-26 19:32:32 +0100 |
---|---|---|
committer | KevinOConnor <kevin@koconnor.net> | 2021-04-24 13:15:17 -0400 |
commit | 200b62bcb4ea37e27e533d0d5d87c9c4deefe9ac (patch) | |
tree | 1c2a8c28d507a56d415263c76df264d5024cef8e /docs/G-Codes.md | |
parent | a58e9eddbe0996ff68fda114b9af290ff641f554 (diff) | |
download | kutter-200b62bcb4ea37e27e533d0d5d87c9c4deefe9ac.tar.gz kutter-200b62bcb4ea37e27e533d0d5d87c9c4deefe9ac.tar.xz kutter-200b62bcb4ea37e27e533d0d5d87c9c4deefe9ac.zip |
adxl345: Verify the register writes, added debug adxl345 commands
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
Diffstat (limited to 'docs/G-Codes.md')
-rw-r--r-- | docs/G-Codes.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/G-Codes.md b/docs/G-Codes.md index 70af24ef..b8b96636 100644 --- a/docs/G-Codes.md +++ b/docs/G-Codes.md @@ -717,6 +717,13 @@ The following commands are available when an is used. This command is useful to test the connection to the ADXL345 accelerometer: one of the returned values should be a free-fall acceleration (+/- some noise of the chip). +- `ADXL345_DEBUG_READ [CHIP=<config_name>] REG=<register>`: queries + ADXL345 register <register> (e.g. 44 or 0x2C). Can be useful for + debugging purposes. +- `ADXL345_DEBUG_WRITE [CHIP=<config_name>] REG=<reg> VAL=<value>`: + writes raw <value> into a register <register>. Both <value> and + <register> can be a decimal or a hexadecimal integer. Use with care, + and refer to ADXL345 data sheet for the reference. ## Resonance Testing Commands |