Fixed a typo in the example code DigitialOut to DigitalOut
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
