Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: EC.cpp
- Revision:
- 8:17aff8f21d19
- Parent:
- 1:b7e957c01761
- Child:
- 10:ad0f13db7b92
diff -r f81ffb5b69bf -r 17aff8f21d19 EC.cpp
--- 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");
}
//ピン変化割り込み関数の定義