Weather:bit BME280 data

General project discussion / help
Did you make a robotic coffee pot which implements HTCPCP and decafs unauthorized users? Show it off here!

Moderator: phalanx

Post Reply
topshed
Posts: 1
Joined: Tue Aug 15, 2017 7:17 am

Weather:bit BME280 data

Post by topshed » Tue Aug 15, 2017 7:39 am

I've been experimenting with the SparkFun weather:bit and can't get the readings (temp, pressure and humidity) to update once an initial reading has been taken. I've been using the sample .hex code provided in this tutorial but the values always remain unchanged until the Micro:bit is reset or power-cycled. It seems like the i2c readings are only made once then always returned by, say, the <temperature (C)> block.

I have tried having the <start weather monitoring> block in a forever loop as well as running on start but it doesn't make any difference.

All the other sensor readings (e.g. wind speed) update perfectly. is there a bug in the MakeCode package?

Post Reply