06-10-2020, 03:20 AM
A quick update on PineTime accelometer. The BMA423 driver does work and the only changes needed are adopting a suitable config file (and with many thanks to Aaron for that) and changing the device ID. The resulting driver only supports BMA421 embedded intelligence features meaning things like hardware assisted wrist tilt doesn't work (which doesn't mean we can't implement tilt detection in software).
I assembled this into a ready-to-go micropython driver for wasp-os which I think should also be enough of an example to help other PineTime OS projects get the sensor running: https://github.com/daniel-thompson/bma42x-upy
I have tested it by porting the accelerometer, step-counter, motion/no-motion detect and temperature examples to Python (see examples/ for what is working).
I assembled this into a ready-to-go micropython driver for wasp-os which I think should also be enough of an example to help other PineTime OS projects get the sensor running: https://github.com/daniel-thompson/bma42x-upy
I have tested it by porting the accelerometer, step-counter, motion/no-motion detect and temperature examples to Python (see examples/ for what is working).