テスト

Dependents:   Avoid CanSat-C LSI_Compass loop_test ... more

Revision:
1:ac45a449d413
Parent:
0:fec7088c8dcb
Child:
2:d377daf497e2
--- a/us015.cpp	Sat Sep 09 00:47:13 2017 +0000
+++ b/us015.cpp	Sat Oct 14 09:24:12 2017 +0000
@@ -1,7 +1,7 @@
 //**************************************************
 //
 // us015.cpp
-// 概要:測距センサUS-015
+// 概要:超音波距離センサ US-015
 //
 //**************************************************
 #include "mbed.h"
@@ -18,7 +18,7 @@
     // タイマーの開始
     timer.start();
     // トリガー信号の定期出力を行う
-    tk.attach_us(this,&US015::TrigerOut,US015_PERIODIC_TRIGER);
+    //tk.attach_us(this,&US015::TrigerOut,US015_PERIODIC_TRIGER);
     // エコーバック信号の立ち上がり・立ち下がり処置の割り込み
     _interruptEcho.fall(this,&US015::EchoFall);
     _interruptEcho.rise(this,&US015::EchoRise);
@@ -73,3 +73,4 @@
     tmBegin=timer.read_us();
 }
 // End of EchoRise
+