mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-08 06:24:03 -06:00
adxl345: Renamed debug commands to fix their parsing by Klipper
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
This commit is contained in:
parent
e3905eb241
commit
bd5dc03317
2 changed files with 12 additions and 12 deletions
|
@ -763,10 +763,10 @@ 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
|
||||
- `ACCELEROMETER_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>`:
|
||||
- `ACCELEROMETER_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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue