mirror of
https://github.com/adafruit/Adafruit_BME680.git
synced 2026-10-26 22:10:15 +00:00
Update bme680test.ino
Update as recommended by @ladyada
This commit is contained in:
1 parent
0a9d69ec2d
commit
3aef88ab24
1 file changed
+2
-3
@@ -20,7 +20,6 @@
|
||||
#include <Adafruit_Sensor.h>
|
||||
#include "Adafruit_BME680.h"
|
||||
|
||||
#define WIRE &Wire
|
||||
#define BME_SCK 13
|
||||
#define BME_MISO 12
|
||||
#define BME_MOSI 11
|
||||
@@ -28,8 +27,8 @@
|
||||
|
||||
#define SEALEVELPRESSURE_HPA (1013.25)
|
||||
|
||||
Adafruit_BME680 bme(WIRE); // I2C
|
||||
//Adafruit_BME680 bme(&Wire1); // I2C on specified bus, ex: Wire1
|
||||
Adafruit_BME680 bme(&Wire); // I2C
|
||||
//Adafruit_BME680 bme(&Wire1); // example of I2C on another bus
|
||||
//Adafruit_BME680 bme(BME_CS); // hardware SPI
|
||||
//Adafruit_BME680 bme(BME_CS, BME_MOSI, BME_MISO, BME_SCK);
|
||||
|
||||
|
||||
Reference in new issue
Block a user