Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Gamepad.cpp
- 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);