Particle code for CCS811?

I’m looking at utilizing the CCS811 VOC sensor with a Particle Electron (or Photon) and would like to have some sample code to get me started. Anyone have any? Thanks!

Old request, but i’d also find some example code for this useful.


Hi Phil,
Sparkfun has written a really nice arduino library


Fantastic, thank you.

There’s also the Adafruit library ADAFRUIT_CCS811 that Particle provides and you should be able easily include in your project.