Can confirm that the first reading of getPressure() results in undefined, subsequent readings are fine. I've tested with a Kickstarter Bangle 2 and a newer Bangle 2 and this problem only occurs with the newer one. Presumably related to the different sensor?
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.
Can confirm that the first reading of getPressure() results in undefined, subsequent readings are fine. I've tested with a Kickstarter Bangle 2 and a newer Bangle 2 and this problem only occurs with the newer one. Presumably related to the different sensor?