Mbed OS 5
Fork of PinDetect by
Rewritten to Mbed OS 5 and their callback mechanism
Diff: PinDetect.h
- Revision:
- 3:8e3abbd21291
- Parent:
- 2:cb3afc45028b
- Child:
- 4:bacc386fe2ad
--- a/PinDetect.h Thu Jan 13 11:09:22 2011 +0000 +++ b/PinDetect.h Thu Jul 28 15:28:17 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