I keep getting the following error when I try to verify my code on Arduino. I have the ESP8266 board installed. I’m using Arduino 1.8.10. I’m using a mac.
Can you open up the board manager and confirm which version of the “SparkFun ESP8266” boards you have installed? You don’t have the SparkFun specific boards downloaded then please do so.
You’re not using microPython or anything other than Arduino, correct?
Just tried using that link, still having problems. Installed and uninstalled Arduino multiple times, getting new errors.
Warning: platform.txt from core ‘ESP8266 Modules’ contains deprecated recipe.ar.pattern=“{compiler.path}{compiler.ar.cmd}” {compiler.ar.flags} {compiler.ar.extra_flags} “{build.path}/{archive_file}” “{object_file}”, automatically converted to recipe.ar.pattern=“{compiler.path}{compiler.ar.cmd}” {compiler.ar.flags} {compiler.ar.extra_flags} “{archive_file_path}” “{object_file}”. Consider upgrading this core.
/Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library/src/SparkFunCCS811.cpp: In member function ‘CCS811Core::status CCS811Core::beginCore(TwoWire&)’:
/Users/maxbublitz/Documents/Arduino/libraries/SparkFun_CCS811_Arduino_Library/src/SparkFunCCS811.cpp:62:12: error: ‘class TwoWire’ has no member named ‘setClockStretchLimit’
_i2cPort->setClockStretchLimit(200000);// was default 230 uS, now 200ms
^
Multiple libraries were found for “SparkFunCCS811.h”
you seem to have an older ESP8266 library than me ( 2.6.3). Remove the old driver / reference and use this link : http://arduino.esp8266.com/stable/packa … index.json to install. It contains the new driver for the ESP8266 thing and in the wire.h it has the setClockStretchLimit().
I’m still running in to similar errors with all these different methods. I’ve tried installing the boards on different macs and receive the same errors. I’ve tried it with two PC’s and it has worked perfectly fine, but it would be great to be able to get it to work on a mac.