Thanks for that (sorry for the duplicate DM, thought it better to ask in forum). There is some simpler code from Daniel Thompson which might be easier to include. I think the BMA421 needs priming with a binary blob before initialising, which takes more steps.
I'm more nervous about modifying the 'firmware' Espruino build at the moment, because I have no way to recover a bricked device. Rewriting in JS would be time consuming, and also make it harder to keep up with any changes upstream.
© Espruino, powered by microcosm.
Report a problem