Morgan Du
/
Sensor-BME680
Read the Bosch BME680 sensor on Nuvoton NuMaker board
Diff: main.cpp
- Revision:
- 1:6dd878905b5c
- Parent:
- 0:a0e92a018ff2
--- a/main.cpp Tue Jun 09 02:35:34 2020 +0000 +++ b/main.cpp Tue Jun 16 05:47:24 2020 +0000 @@ -2,9 +2,9 @@ #include "mbed_bme680.h" #if TARGET_NUMAKER_IOT_M263A -I2C sensor_i2c(PD_4, PD_5); +I2C i2c(PD_4, PD_5); #else -I2C sensor_i2c(I2C_SDA, I2C_SCL); // Used inside the BME680 Mbed Lib. +I2C i2c(I2C_SDA, I2C_SCL); // Used inside the BME680 Mbed Lib. #endif BME680 bme680(0x76 << 1);