Commit 414b3152 authored by Markéta Jedličková's avatar Markéta Jedličková
Browse files

Updated BME280_test

parent 18beb238
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment