gamepad library

Fork of Gamepad by Craig Evans

Revision:
2:ea5538fcfe2f
Parent:
1:6d25cd49059b
Child:
3:964a6d95acdd
diff -r 6d25cd49059b -r ea5538fcfe2f Gamepad.cpp
--- a/Gamepad.cpp	Sat Feb 04 16:13:18 2017 +0000
+++ b/Gamepad.cpp	Sat Feb 04 16:21:19 2017 +0000
@@ -14,9 +14,9 @@
     joystick = new Joystick(PTB10,PTB11,PTC16);
 
     button_A = new InterruptIn(PTB9);
-    button_B = new InterruptIn(D10);
+    button_B = new InterruptIn(PTD0);
     button_X = new InterruptIn(PTC17);
-    button_Y = new InterruptIn(PTC12);  // changed pin
+    button_Y = new InterruptIn(PTC12);  
     button_back = new InterruptIn(PTB19);
     button_start = new InterruptIn(PTC5);
     button_L = new InterruptIn(PTB18);