Glad you got it sorted! It's a surprise you could completely confuse it though.
Just so you know, Bangle.getPressure will automatically power the sensor on, read, and power it off - so you may not have to mess with power cycling yourself
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.
Glad you got it sorted! It's a surprise you could completely confuse it though.
Just so you know,
Bangle.getPressure
will automatically power the sensor on, read, and power it off - so you may not have to mess with power cycling yourself