気圧センサLPS22HBのライブラリ
Dependents: Hybrid_IZU2021_MAIN_OS5 Hybrid_IZU2021_MISSION_v2 Hybrid_IZU2021_MAIN Hybrid_IZU2021_MISSION
Diff: PQ_LPS22HB.h
- Revision:
- 1:fdde28032fb5
- Parent:
- 0:9a7d5d7e63be
--- a/PQ_LPS22HB.h Tue Dec 15 15:37:50 2020 +0000 +++ b/PQ_LPS22HB.h Mon Mar 08 16:48:54 2021 +0000 @@ -7,6 +7,8 @@ #define LPS22HB_CTRL_REG1 0x10 #define LPS22HB_PRESS_XL 0x28 #define LPS22HB_TEMP_L 0x2B +#define LPS22HB_PRESS_LSB 4096.0 +#define LPS22HB_TEMP_LSB 0.01 /** LPS22HBのライブラリ * @code