If you are asking a question, please follow this template:
My goal is: to run the code and get the sensor data of ccs811
My actions are: I’m using esp32 board. I cloned the repo from https://github.com/mongoose-os apps/empty app2 and I copy the code from ccs811 library and also included the library in ccs811 then I build and flash the code.
this is my src/main.c code which I copied from the driver:
When I scan the I2c bus, the address is indeed 0x5B. But I am still receiving the same error message: “mgos_ccs811.c:86 Failed to detect CCS811 at I2C 0x5b”… Below my mos.yml and my main.c…Any suggestion ?