copied directly

Fork of PinDetect by Andy K

Files at this revision

API Documentation at this revision

Comitter:
bobgiesberts
Date:
Wed Aug 24 10:30:13 2016 +0000
Parent:
2:cb3afc45028b
Commit message:
changed PullDown into PullDefault

Changed in this revision

PinDetect.h Show annotated file Show diff for this revision Revisions of this file
diff -r cb3afc45028b -r e84f6fb66b7b PinDetect.h
--- a/PinDetect.h	Thu Jan 13 11:09:22 2011 +0000
+++ b/PinDetect.h	Wed Aug 24 10:30:13 2016 +0000
@@ -178,7 +178,7 @@
      * @param p PinName is a valid pin that supports DigitalIn
      */    
     PinDetect(PinName p) {
-        init( p, PullDown );
+        init( p, PullDefault );
     }
 
     /** PinDetect constructor