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 PinDetect by
Revision 3:8d7f44cc5347, committed 2014-09-22
- Comitter:
- jn80842
- Date:
- Mon Sep 22 06:07:11 2014 +0000
- Parent:
- 2:cb3afc45028b
- Commit message:
- tweak to allow use by FRDM-KL25Z
Changed in this revision
PinDetect.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r cb3afc45028b -r 8d7f44cc5347 PinDetect.h --- a/PinDetect.h Thu Jan 13 11:09:22 2011 +0000 +++ b/PinDetect.h Mon Sep 22 06:07:11 2014 +0000 @@ -178,7 +178,7 @@ * @param p PinName is a valid pin that supports DigitalIn */ PinDetect(PinName p) { - init( p, PullDown ); + init( p, PullUp ); } /** PinDetect constructor