Library for ELEC2645 Gamepad PCB. University of Leeds

Dependents:   Project_MaZe1_copy Labirint Game_Controller_Project 200943373MAZE ... more

Revision:
2:ea5538fcfe2f
Parent:
1:6d25cd49059b
Child:
3:964a6d95acdd
--- 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);