test

Revision:
8:17aff8f21d19
Parent:
1:b7e957c01761
Child:
10:ad0f13db7b92
--- a/EC.cpp	Wed Jul 17 06:21:42 2019 +0000
+++ b/EC.cpp	Wed Jul 24 17:10:43 2019 +0000
@@ -8,7 +8,7 @@
     timer_.start();
 }
 
-int Ec::getCount()
+int Ec::getCount()const
 {
     return count_;
 }
@@ -21,7 +21,7 @@
     ptw_=t;
 }
 
-double Ec::getOmega()
+double Ec::getOmega()const
 {
     return omega_;
 }
@@ -59,7 +59,6 @@
 {
     signalA_.rise(callback(this,&Ec2multi::upA));
     signalA_.fall(callback(this,&Ec2multi::downA));
-    printf("Initialize OK!!\r\n");
 }
 
 //ピン変化割り込み関数の定義