aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/Bma421.cpp
Commit message (Collapse)AuthorAgeFilesLines
* TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants2021-04-081-5/+10
| | | | | | and workarounds for errors on the bus. Reset the TWI bus after the soft-reset of the motion sensor to workaround issues on the TWI bus.
* Reset the step count every day at midnight.Jean-François Milants2021-04-041-0/+4
|
* Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants2021-04-041-9/+14
| | | | fails. This allows to boot InfiniTime even if the device cannot initialize.
* Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants2021-04-041-46/+26
| | | | | | in the application. NOTE: Axis remapping from the SDK do not apply to the "raw" X/Y/Z values returned to the sensor. According to the doc, the remapping is only applied to features, but I cannot check if it has any effect on step counting (I'm not sure I use it correctly, doc is not complete enough about this feature).
* First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants2021-04-041-0/+122
wrist rotation + app to see the value of the 3 axis in "real time".