気圧センサ(nucleo用)-sammple code
Dependencies: mbed LPS25HB_I2C
Diff: main.cpp
- Revision:
- 1:e8b472ec4bb2
- Parent:
- 0:03ee8739832e
diff -r 03ee8739832e -r e8b472ec4bb2 main.cpp --- a/main.cpp Wed Aug 03 08:42:01 2022 +0000 +++ b/main.cpp Tue Aug 09 09:58:35 2022 +0000 @@ -1,7 +1,7 @@ #include "mbed.h" #include "LPS.h" -I2C i2c(D0,D1); +I2C i2c(D4,D5); LPS ps(i2c); int main(){