I've been testing more after changing line 38 in your module from:
var c = 0b10101010;
var c = 0b01010101;
The 2x scale factor is removed and the variability has gone down and it's actually quite good now. If I round to the nearest 0.25 grams, its quite stable, and that's all the resolution I need for my application. I'm thinking it would be fine to release this as a beta version of the module with just line 38 changed. Don't change line 41 to what you had me test. The original ex() function works better.
© Espruino, powered by microcosm.
Report a problem