01-19-2021, 10:35 AM
If anyone is interested in getting the step counter working in Infinitime then I structured the wasp-os driver to make it easy to separate the micropython stuff from everything. Most of the code is C code directly from Bosch anyway so it's much more direct than JF's transliteration of the wasp-os HRS driver. If you're interested then take a look at https://github.com/daniel-thompson/bma42x-upy . You need the generic bma4.c/h code from the BMA423 directory together with bma421.c/h and bma421_config.h from the BMA421 directory (and some callbacks to the Infinitime I2C driver).
PS Once of the videos in my wasp-os series covers both HR and step count: https://youtu.be/lIo2-djNR48
PS Once of the videos in my wasp-os series covers both HR and step count: https://youtu.be/lIo2-djNR48