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.
Fork of PulseCounter by
Revision 1:54e8663265c3, committed 2016-06-10
- Comitter:
- Mehrad
- Date:
- Fri Jun 10 00:05:35 2016 +0000
- Parent:
- 0:d534558752b8
- Commit message:
- Initial commit
Changed in this revision
PulseCounter.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r d534558752b8 -r 54e8663265c3 PulseCounter.h --- a/PulseCounter.h Sun Apr 17 17:41:12 2011 +0000 +++ b/PulseCounter.h Fri Jun 10 00:05:35 2016 +0000 @@ -72,11 +72,12 @@ _t.reset(); _t.start(); - +/* if (_useled3) led3=1; else led4=1; +*/ _f=true; // pulse is on } @@ -84,12 +85,13 @@ void endpulse() { _diff_stop=_t.read_ms(); _t.stop(); - + + /* if (_useled3) led3=0; else led4=0; - + */ if ((_diff_stop >= _minwidth) and (_diff_stop <= _maxwidth) and (_f)) {