ldab / KXTJ3-1057

KXTJ3-1057 Tri-axis Digital Accelerometer - Arduino Library
MIT License
14 stars 8 forks source link

intDisableAxis fix, Documentation updates #18

Closed nomakewan closed 1 month ago

nomakewan commented 1 month ago

Kionix (ROHM Semiconductor) updated the datasheet with the following fixes:

-Output signal bandwidth (Low Power Mode is now ODR/2 not 800Hz) -Block Diagram (Temp Sensor removed) -I2C Operation (removed line about contacting Kionix rep) -YOUT_L, ZOUT_L (changed erroneous "Y" to "X") -INT_CTRL_REG2 (changed erroneous "ULMOD" to "ULMODE") -SRST (removed comment about using NACK to confirm receipt)

Additionally this PR fixes a bug with the intDisableAxis function where it was not putting the IMU into standby before attempting to alter the register, which was causing improper axis selection. It also updates the readme to point out that intDisableAxis must be called after intConf to have any effect, and moves the strings used for the debug serial print commands into PROGMEM to save RAM.

nomakewan commented 1 month ago

I have updated the PR title; is this satisfactory?

If merged it should result in a new release, yes.