No bmp and stepcounter :(
#12
(01-19-2021, 10:35 AM)danielt Wrote: 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

I works on BMA421 pinetime using your driver mentioned above, but when write config file during initialization encounter -5 error
my project :https://gitee.com/fwatch/pinetime/tree/d...421/zephyr
  Reply


Messages In This Thread
No bmp and stepcounter :( - by Martin87 - 01-15-2021, 03:31 AM
RE: No bmp and stepcounter :( - by Martin87 - 01-15-2021, 09:25 AM
RE: No bmp and stepcounter :( - by barray - 01-15-2021, 10:11 AM
RE: No bmp and stepcounter :( - by Martin87 - 01-15-2021, 10:25 AM
RE: No bmp and stepcounter :( - by barray - 01-15-2021, 01:16 PM
RE: No bmp and stepcounter :( - by pagesix1536 - 01-17-2021, 10:33 AM
RE: No bmp and stepcounter :( - by JF002 - 01-17-2021, 11:46 AM
RE: No bmp and stepcounter :( - by Martin87 - 01-18-2021, 11:35 AM
RE: No bmp and stepcounter :( - by danielt - 01-19-2021, 10:35 AM
RE: No bmp and stepcounter :( - by jandy - 08-10-2021, 12:56 AM
RE: No bmp and stepcounter :( - by danielt - 08-16-2021, 04:57 AM
RE: No bmp and stepcounter :( - by jandy - 09-14-2021, 02:20 AM
RE: No bmp and stepcounter :( - by jandy - 12-01-2021, 11:43 PM
RE: No bmp and stepcounter :( - by Martin87 - 01-24-2021, 08:58 AM
RE: No bmp and stepcounter :( - by Avamander - 01-25-2021, 12:07 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)