sparkfun/pxt-weather-bit

Pressure problem

adamujhazi opened this issue · 1 comments

Hello,

probably you have changed something, but in version 0.0.19 pressure is not displaying correctly. In version 0.0.12 it was working smoothly.

Raw value from v0.0.12 (weatherbit.pressure()): 26479239
Formated value from v0.0.12 (Math.idiv(weatherbit.pressure(), 25600)): 1034 hPa

Raw value from v0.0.19 (weatherbit.pressure()): 49921
Formated value from v0.0.19 (Math.idiv(weatherbit.pressure(), 25600)): 1 hPa

jeritt commented

I know this is an old thread, but I'm having similar problems with pressure as the user above. Confirmed on multiple boards.
Works fine in old extension version 0.0.12 (what is used in the Sparkfun tutorials). I don't know TS well enough to submit a fix...

UPDATE: My workaround is just using another BME280 extension.