@Gordon I'm a little confused about how the sampling works in the StartInput. If i create a buffersize of 128 does the StartInput average out the 2000 samples then store the averaged sample into the buffer and do that 128 times?
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.
@Gordon I'm a little confused about how the sampling works in the StartInput. If i create a buffersize of 128 does the StartInput average out the 2000 samples then store the averaged sample into the buffer and do that 128 times?