I hope someone can help me as I am out of ideas. I have a NodeMCU board which I want to connect to an Air Quality sensor (CCS811) from sparkfun. I connected the sensor's SDA and SCL to pins D2 and D1 respectively, but when I compile the "Basic Readings" sample code provided with the CCS811 library (https://learn.sparkfun.com/tutorials/cc ... 1492205268) I get an error after uploading the code:
Z+�I$��9r��CCS811 Basic Example
.begin() returned with an error.
Soft WDT reset
ctx: cont
sp: 3ffef2b0 end: 3ffef490 offset: 01b0
>>>stack>>>
3ffef460: 3fffdad0 00000000 3ffee440 402020ac
3ffef470: feefeffe feefeffe 3ffee45c 40202cb8
3ffef480: feefeffe feefeffe 3ffee470 40100114
<<<stack<<<
Can someone please help me out? I tried running the code in an Arduino Nano and it ran perfectly, so my only guess is that the code is not reading the SDA, SCL signals from the D1/D2 pins, but I don't know where I could change this.
Any help is appreciated.