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_KL25Z by
Diff: PinDetect.h
- Revision:
- 3:2cc013fd659d
- Parent:
- 2:cb3afc45028b
- Child:
- 4:4f11ae3737c7
--- a/PinDetect.h Thu Jan 13 11:09:22 2011 +0000
+++ b/PinDetect.h Mon Aug 04 22:50:38 2014 +0000
@@ -172,13 +172,13 @@
/** PinDetect constructor
*
- * By default the PinMode is set to PullDown.
+ * By default the PinMode is set to PullDefault.
*
* @see http://mbed.org/handbook/DigitalIn
* @param p PinName is a valid pin that supports DigitalIn
*/
PinDetect(PinName p) {
- init( p, PullDown );
+ init( p, PullDefault );
}
/** PinDetect constructor
