オムロンのMEMS熱センサー
Dependents: YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard
Diff: MEMS.cpp
- Revision:
- 2:3e02b45037da
- Parent:
- 1:17f329471d0c
- Child:
- 3:c7d3279ba305
diff -r 17f329471d0c -r 3e02b45037da MEMS.cpp --- a/MEMS.cpp Thu Apr 02 05:32:27 2015 +0000 +++ b/MEMS.cpp Sat Apr 04 10:10:42 2015 +0000 @@ -6,7 +6,7 @@ } -double MEMS::temp(double* dt) { +double MEMS::temp(float* dt) { char I2C_rd[64]; // 生データ short datr[16]; // 16点 温度データ(10倍整数)