Adafruit_BMP280_Library
Adafruit_BMP280_Library copied to clipboard
Library doesn't work for ESP32 and ESP8266 in PlatformIO. #include <SPI.h>^~~~~~~ compilation terminated.
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?