median filter from the code above Gordon is returning 0 value, could you fix it?
average way isn't correct after while, on the beginning values are corresponding to multimeter but after few minutes average isn't change as fast an as accurate as value on the multimeter
average filter could be quite good if it could reset every some cycle of time and take fresh reading values for count
allObjects: your code is working but after setTimeout time I see both "waiting" and "CO2 measured..." commands - would like to leave only readings after 5min
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.
median filter from the code above Gordon is returning 0 value, could you fix it?
average way isn't correct after while, on the beginning values are corresponding to multimeter but after few minutes average isn't change as fast an as accurate as value on the multimeter
average filter could be quite good if it could reset every some cycle of time and take fresh reading values for count
allObjects: your code is working but after setTimeout time I see both "waiting" and "CO2 measured..." commands - would like to leave only readings after 5min