Adithya Murali / PinDetect_KL25Z

Fork of PinDetect_KL25Z by Bjoern Hartmann

Files at this revision

API Documentation at this revision

Comitter:
adithya_murali
Date:
Fri Sep 11 23:20:23 2015 +0000
Parent:
4:4f11ae3737c7
Commit message:
testing 3 buttons

Changed in this revision

example.h Show annotated file Show diff for this revision Revisions of this file
--- 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 );