Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Michal Rybka
openCanSat-2.0-library
Commits
414b3152
Commit
414b3152
authored
Sep 17, 2018
by
Markéta Jedličková
Browse files
Updated BME280_test
parent
18beb238
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/.DS_Store
0 → 100644
View file @
414b3152
File added
examples/3-Each-module-examples/BME280_test/BME280_test.ino
View file @
414b3152
...
...
@@ -16,11 +16,12 @@
and copyright notices in any redistribution of this code
*/
#include "Adafruit_BME280.h" // include Adafruit BME280 library
#include "Adafruit_BME280.h"
// include Adafruit BME280 library
#define Serial SerialUSB // change default serial to SAMD USB serial
#define BME280_ADDRESS_OPEN_CANSAT 0x77 // set BME's address (according to the circuit)
#define SEALEVELPRESSURE_HPA (1013.25) // set sea level pressure value(see: https://en.wikipedia.org/wiki/Atmospheric_pressure)
#define Serial SerialUSB // change default serial to SAMD USB serial
#define BME280_ADDRESS_OPEN_CANSAT 0x77 // set BME's address (according to the circuit)
#define SEALEVELPRESSURE_HPA (1013.25) // set sea level pressure value(see: https://en.wikipedia.org/wiki/Atmospheric_pressure)
// create object 'bme' from the library, which will
// be used to access the library methods by a dot notation
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment