M5Stack Env module example won't compile
-
With the Arduino IDE, I chose the M5Stack Env module example.
It starts
#include <M5Stack.h> #include "DHT12.h" #include <Wire.h> //The DHT12 uses I2C comunication. #include "Adafruit_Sensor.h" #include <Adafruit_BMP280.h>and teh compiler says
Adafruit_BMP280.h: No such file or directoryI imagijne that I am suposed to include soem library into the IDE(?), but am surpised when examples wil not compile out of the box.
Any dea how I can build & run the example?
-
@mawg In arduino, tutorials assume you have these libraries already installed.
In arduino click on Sketch,
then click Include Library,
Then Manage Librarys.Search for Adafruit_BMP280 and then click install.
-
Thanks a 1,000,000 I am new to ESP32 and to the Aruino IDE, so you just taught me a general solution. I really appreciate it
-
@mawg Glad I can help.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login