microbit: corrected pin mappings
Swapped the mappings for BUTTON_A and COL2 around to match the device mappings in the latest revision of hardware. Closes #92
This commit is contained in:
parent
a255711e8f
commit
982edaf988
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@
|
|||
#define MICROBIT_PIN_P1 P0_2 //P1 is the middle pad (ANALOG/DIGITAL)
|
||||
#define MICROBIT_PIN_P2 P0_1 //P2 is the right most pad (ANALOG/DIGITAL) used to be P0_1 on green board
|
||||
#define MICROBIT_PIN_P3 P0_4 //COL1 (ANALOG/DIGITAL)
|
||||
#define MICROBIT_PIN_P4 P0_17 //BTN_A
|
||||
#define MICROBIT_PIN_P5 P0_5 //COL2 (ANALOG/DIGITAL)
|
||||
#define MICROBIT_PIN_P4 P0_5 //COL2 (ANALOG/DIGITAL)
|
||||
#define MICROBIT_PIN_P5 P0_17 //BTN_A
|
||||
#define MICROBIT_PIN_P6 P0_12 //COL9
|
||||
#define MICROBIT_PIN_P7 P0_11 //COL8
|
||||
#define MICROBIT_PIN_P8 P0_18 //PIN 18
|
||||
|
|
Loading…
Reference in a new issue