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!
@geek_god started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
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!