Compile error in example bme280test
MBurtsev opened this issue · 5 comments
It looks like you are using an updated and unreleased example that will not work with the current release version of the library.
How did you get to that version of the example? Via the Arduino IDE? From copy/pasting from github? Or something else?
Yes, I used the current example from Github. You need to make examples so that they contain an explicit indication of the head files. At first I tried to run without libraries, and there was another problem. For beginners, it is very important that the example works without additional effort. Following this rule, your library will have many more users.
Use the Arduino Library Manager to install the latest release version, including the examples:
Sketch -> Include Library -> Manage Libraries...
And then get at the examples via the Arduino IDE also:
File -> Examples ->
The release versions of everything should work. By grabbing the current version directly from this repo, you are using updates that haven't been officially released yet.
hiya if you follow
https://learn.adafruit.com/adafruit-bme280-humidity-barometric-pressure-temperature-sensor-breakout/arduino-test#install-adafruit-bme280-library-4-6
you should be good to go! current version passes travis, so closing.
Thanks