Toyomasa Watarai
/
BME280_Hello
Hello program for BME280 library
Diff: main.cpp
- Revision:
- 4:5656d9c63801
- Parent:
- 0:2c9585cecfde
diff -r 710f0b2843e4 -r 5656d9c63801 main.cpp --- a/main.cpp Fri Jun 26 06:42:06 2015 +0000 +++ b/main.cpp Sat Nov 07 13:13:47 2020 +0000 @@ -5,8 +5,10 @@ #if defined(TARGET_LPC1768) BME280 sensor(p28, p27); +#elif defined(TARGET_TY51822R3) +BME280 sensor(P0_30, P0_7); #else -BME280 sensor(I2C_SDA, I2C_SCL); +BME280 sensor(SDA, SCL); #endif int main() {