オムロンのMEMS熱センサー

Dependents:   YOZAKURA_ARM YOZAKURA_ARM_USB YOZAKURA_ARM_USB_Keyboard

Files at this revision

API Documentation at this revision

Comitter:
yusuke_kyo
Date:
Wed Apr 08 08:04:48 2015 +0000
Parent:
2:3e02b45037da
Child:
4:6a5ab8af56a4
Commit message:
double -> void

Changed in this revision

MEMS.cpp Show annotated file Show diff for this revision Revisions of this file
MEMS.h Show annotated file Show diff for this revision Revisions of this file
--- a/MEMS.cpp	Sat Apr 04 10:10:42 2015 +0000
+++ b/MEMS.cpp	Wed Apr 08 08:04:48 2015 +0000
@@ -6,7 +6,7 @@
 
 }
 
-double MEMS::temp(float* dt) {
+void MEMS::temp(float* dt) {
         
     char  I2C_rd[64]; // 生データ
     short  datr[16]; // 16点 温度データ(10倍整数)
--- a/MEMS.h	Sat Apr 04 10:10:42 2015 +0000
+++ b/MEMS.h	Wed Apr 08 08:04:48 2015 +0000
@@ -18,7 +18,7 @@
     /*
        @param datr : temperature data[16]
     */    
-    double temp(float* datr);
+    void temp(float* datr);
 
 private:
     I2C _mems;