Closed cap9qd closed 6 years ago
Sorry. Looks like we broke it a few commits back when we were fixing clock stretching for ESP8266.
I don't have a good setup to test but it does now compile. I've pushed a release. Please grab v1.0.4 of the library and kick the tires. Let me know if you still have issues.
Thanks Nate! I tested it on the ESP32 THING and and weather shield and it looks good!
Yay! Sorry about that. Thanks for confirming!
I have an issue compiling this library when using the latest ESP32 Arduino Core and Arduino 1.8.5.
I followed the SparkFun ESP32 Thing hookup guide to setup the environment and tested it on a ESP32-BIT breakout from Amazon before receiving the ESP32 THING in the mail with the environmental monitor shield.
I get an error:
SparkFunCCS811.cpp:62:7:
error: 'class TwoWire' has no member named 'setClockStretchLimit'"`I am using the example sketch for the Environmental Monitor Shield setup guide and the libraries as downloaded by the Ardiuno library manager. I did try to pull the latest commit of this library since in other issues (#11 ESP8266 error) it was mentioned that one issue I had was already fixed.
Any ideas what I am doing wrong? I tried pulling the latest the ESP32 stuff but this didnt fix it. However, this is only the second project I have done with ESP32 so maybe I did something wrong updating the toolchain/core.
UPDATE: I just complied and ran several of the ESP32 THING examples and eveything works; this leads me to beleive that the toolchain/core is okay but maybe just out of date?
I commented out the WU stuff since I plan to push the data to a mosquito server instead.