Adafruit_BMP280_Library icon indicating copy to clipboard operation
Adafruit_BMP280_Library copied to clipboard

Library doesn't work for ESP32 and ESP8266 in PlatformIO. #include <SPI.h>^~~~~~~ compilation terminated.

Open WackoKacko opened this issue 1 year ago • 1 comments

There is the build problem that I must add the following libraries to lib_deps: https://github.com/adafruit/Adafruit_BusIO https://github.com/adafruit/Adafruit_Sensor

However, the Adafruit_BusIO library causes the build to fail for the following reason:

#include <SPI.h> ^~~~~~~ compilation terminated. *** [.pio\build\d1_mini\lib90c\Adafruit BMP280 Library\Adafruit_BMP280.cpp.o] Error 1

I'm a novice. Is there any way to fix this quickly in my case?

WackoKacko avatar Jun 21 '23 17:06 WackoKacko