summaryrefslogtreecommitdiff
path: root/src/drivers/Bma421.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-04-08TwiMaster is now based on the NRFX TWI driver, as it handles more edge cases ↵Jean-François Milants1-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.
2021-04-04Reset the step count every day at midnight.Jean-François Milants1-0/+4
2021-04-04Handle return code from BMA driver, and set a flag is the initialization ↵Jean-François Milants1-9/+14
fails. This allows to boot InfiniTime even if the device cannot initialize.
2021-04-04Code cleaning in BMA421 driver. Do the axis inversion in the driver and not ↵Jean-François Milants1-48/+28
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).
2021-04-04First integration of the motion sensor (bma 421) : step counting + wake on ↵Jean-François Milants1-0/+122
wrist rotation + app to see the value of the 3 axis in "real time".