Fixed a typo in the example code DigitialOut to DigitalOut
Fork of PinDetect_KL25Z by
Revision 3:2cc013fd659d, committed 2014-08-04
- Comitter:
- bjo3rn
- Date:
- Mon Aug 04 22:50:38 2014 +0000
- Parent:
- 2:cb3afc45028b
- Child:
- 4:4f11ae3737c7
- Commit message:
- Switched default PinMode to PinDefault; otherwise code won't compile for KL25Z, which does not have PullDown
Changed in this revision
| PinDetect.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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
