I want to use a BME280 on a Wemos D1 Mini, but somehow can't get it to work.
I've used the BME280 on various arduinos before using the Adafruit lib, but no idea why it isn't working
with the Wemos.
Here is my code:
https://gist.github.com/solars/1bebe10d ... 3ea60aa6a6
The output is:
Connecting to casablanca
.
WiFi connected
Could not find a valid BME280 sensor, check wiring!
Soft WDT reset
ctx: cont
sp: 3ffefb10 end: 3ffefd00 offset: 01b0
>>>stack>>>
3ffefcc0: 3ffe84e0 3ffeea6a 3ffeecac 402025a4
3ffefcd0: feefeffe feefeffe feefeffe 3ffeecd8
3ffefce0: 3fffdad0 00000000 3ffeecd0 40204e3c
3ffefcf0: feefeffe feefeffe 3ffeece0 40100710
<<<stack<<<
ets Jan 8 2013,rst cause:2, boot mode:(1,6)
ets Jan 8 2013,rst cause:4, boot mode:(1,6)
wdt reset
The pins I use are SDA -> D2, SCL -> D1
Can anyone help me?