here's why we need PEAK detection not threshold crossing. Look at the steps after 6000ms. They are not crossing the orange threshold line. This was why when I took the filter taps into my App the state machine was not being called.
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.
here's why we need PEAK detection not threshold crossing. Look at the steps after 6000ms. They are not crossing the orange threshold line. This was why when I took the filter taps into my App the state machine was not being called.
1 Attachment