LPS25HをSPIで使えるようにしたライブラリです。 ・気圧 ・温度 ・高度(気圧と温度から) が取得できます。 FIFOも使えます。
Revision 2:7ea8c77e960c, committed 2020-03-17
- Comitter:
- Sigma884
- Date:
- Tue Mar 17 12:39:22 2020 +0000
- Parent:
- 0:7bbdfc4610fe
- Commit message:
- commit for publish Stability_seed2019_v2
Changed in this revision
LPS25H_spi.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7bbdfc4610fe -r 7ea8c77e960c LPS25H_spi.cpp --- a/LPS25H_spi.cpp Fri Nov 10 06:47:33 2017 +0000 +++ b/LPS25H_spi.cpp Tue Mar 17 12:39:22 2020 +0000 @@ -11,7 +11,7 @@ spi = &userSPI; spi -> format(8, 3); - spi -> frequency(10000000); + spi -> frequency(5000000); cs = 0; spi -> write(0x00); spi -> write(0x00);