Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of LPS25H by
Revision 6:c97ae96fea8f, committed 2017-07-10
- Comitter:
- feunoir
- Date:
- Mon Jul 10 01:15:03 2017 +0000
- Parent:
- 5:5f8c19996d44
- Commit message:
- some fix
Changed in this revision
| LPS22HB.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
