STMicroelectronics barometric pressure sensor library. This library modified from KenjiArai's LPS25H library.
Fork of LPS25H by
Diff: LPS22HB.cpp
- Revision:
- 6:c97ae96fea8f
- Parent:
- 5:5f8c19996d44
--- a/LPS22HB.cpp Mon Jun 19 15:17:49 2017 +0000 +++ b/LPS22HB.cpp Mon Jul 10 01:15:03 2017 +0000 @@ -4,7 +4,7 @@ * made by STMicroelectronics * http://www.st.com/ja/mems-and-sensors/lps22hb.html * - * Modified for LPS22HB by feunoir + * Modified for LPS22HB by Taro Watanabe * http://mbed.org/users/feunoir/ * * Copyright (c) 2015 Kenji Arai / JH1PJL @@ -88,7 +88,7 @@ return (float)press / 4096.0f; } -//add by user +/////////////// Read raw data from sensor ///////////////// uint32_t LPS22HB::pressure_raw() { return press; @@ -100,7 +100,7 @@ return (float)temp / 100.0f; } -//add by user +/////////////// Read raw data from sensor ///////////////// int16_t LPS22HB::temperature_raw() { return temp;