Using libraries with VS code Arduino extension

...and ADD the .h extension:

#include <Adafruit_BMP280.h>

because an include statement MUST POINTS to the file rather than to the folder.

2 Likes