-->
Page 14 of 14

Re: Ultra Low Power Consumption (ideal regulator)

PostPosted: Fri Oct 11, 2019 6:34 am
by davydnorris
Here's my CCS811 driver code - I wrote the driver myself from the data sheet and a Linux kernel driver. You should hopefully be able to use this to hack your own code to catch version info and error diagnostics.

I've also included my firmware update routine and the 2.0 firmware converted into a binary array - if you use it and you brick your sensor then I'll send you thoughts and prayers but zero responsibility!!

Re: Ultra Low Power Consumption (ideal regulator)

PostPosted: Fri Oct 11, 2019 6:50 am
by eriksl
Here is my code, there can't be that much wrong I guess, it seems to be the simplest sensor to drive from all:

https://github.com/eriksl/esp8266-unive ... or.c#L2460

I made a dedicated topic here: viewtopic.php?f=166&t=20379