Update bme680test.ino

Update as recommended by @ladyada
This commit is contained in:
oculartechie authored and GitHub committed 2024-09-11 16:09:18 -04:00
1 parent 0a9d69ec2d
commit 3aef88ab24
1 file changed
+2 -3
+2 -3
View File
@@ -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);