This library is derived library of DigitalOut. Cumulative counter that detected the Hi edge and I have the operation cumulative time function .
Diff: LogDigitalOut.cpp
- Revision:
- 2:3251929c6549
- Parent:
- 1:23b306c0a0b2
- Child:
- 3:e03cb5ec8912
--- a/LogDigitalOut.cpp Thu Jan 29 14:53:38 2015 +0000 +++ b/LogDigitalOut.cpp Tue Feb 03 23:24:46 2015 +0000 @@ -1,9 +1,18 @@ #include "LogDigitalOut.h" #include "mbed.h" + LogDigitalOut::LogDigitalOut(PinName pin) : _pin(pin) { _pin = 0; } +/************************************************************* + * @fn void LogDigitalOut::CountUp() + * @breaf 動作回数カウントアップ + * @param None + * @return None + * @sa None + * @detail off->onを検出し、カウントアップする + ************************************************************/ void LogDigitalOut::CountUp() { if (buffer==0) { if (_pin) {