Forked PinDetect
Fork of PinDetect_KL25Z by
Diff: example.h
- Revision:
- 5:6cc180b68595
- Parent:
- 1:611a8f5ac65c
--- a/example.h Tue Aug 05 03:30:12 2014 +0000 +++ b/example.h Fri Sep 11 23:20:23 2015 +0000 @@ -65,7 +65,7 @@ int main() { - pin.mode( PullDown ); + pin.mode( PullUp ); pin.attach_asserted( &keyPressed ); pin.attach_deasserted( &keyReleased ); pin.attach_asserted_held( &keyPressedHeld );