I just set up a small function to read every 50ms and calculate the euclidian distance with the previous value and it works fine. Thanks!
Unfortunately, the PCB that I'm using doesn't have the INT pin connected to the MDBT42Q. That's why I'm trying to configure a software setWatch equivalent by watching the register or a variable. I hope that makes sense?
This is on an MDBT42Q btw.
I'm trying to set up a setWatch equivalent for the ICM20948. Is there anyway I can use the function on a variable or a simple way I can set up an equivalent function to watch a variable?
© Espruino, powered by microcosm.
Report a problem