Toyomasa Watarai
/
BME280_Hello
Hello program for BME280 library
Revision 4:5656d9c63801, committed 2020-11-07
- Comitter:
- MACRUM
- Date:
- Sat Nov 07 13:13:47 2020 +0000
- Parent:
- 3:710f0b2843e4
- Commit message:
- Update libraries
Changed in this revision
diff -r 710f0b2843e4 -r 5656d9c63801 BME280.lib --- a/BME280.lib Fri Jun 26 06:42:06 2015 +0000 +++ b/BME280.lib Sat Nov 07 13:13:47 2020 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/users/MACRUM/code/BME280/#ddcaa259e65b +http://developer.mbed.org/users/MACRUM/code/BME280/#bce5ac62b015
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() {
diff -r 710f0b2843e4 -r 5656d9c63801 mbed.bld --- a/mbed.bld Fri Jun 26 06:42:06 2015 +0000 +++ b/mbed.bld Sat Nov 07 13:13:47 2020 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/235179ab3f27 \ No newline at end of file