adxl345: Move g-code commands to new helper class

Separate out the G-Code command handlers to a new ADXLCommandHelper()
class.  This helps separate the sensing code from the user interface
code.

Deprecate the RATE parameter of the ACCELEROMETER_MEASURE command.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2021-08-11 21:54:19 -04:00
parent 6999ff6256
commit e03e0e9dac
3 changed files with 95 additions and 105 deletions

View File

@@ -8,6 +8,10 @@ All dates in this document are approximate.
## Changes
20210830: The adxl345 ACCELEROMETER_MEASURE command no longer supports
a RATE parameter. To alter the query rate, update the printer.cfg
file and issue a RESTART command.
20210821: Several config settings in `printer.configfile.settings`
will now be reported as lists instead of raw strings. If the actual
raw string is desired, use `printer.configfile.config` instead.