Skip to main content
Arduino

Return to Revisions

2 of 2
replaced http://stackoverflow.com/ with https://stackoverflow.com/

Any way to not explicitly include dependent libraries?

When I am including the Adafruit_BMP280 library, Arduino IDE 1.7.10 complains that it wants all dependent libraries included:

Adafruit_Sensors.h
Wire.h
SPI.h

Isn't it possible to circumvent that? This question says to include the first library like

#include "Adafruit_BMP280"

but also with the full path, this doesn't work and just returns the same error.

DK2AX
  • 85
  • 1
  • 13
lang-cpp

AltStyle によって変換されたページ (->オリジナル) /