Skip to content

Commit e512be2

Browse files
committed
rev B pinout
1 parent e8c27ee commit e512be2

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

variants/itsybitsy_nrf52840_express/variant.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,26 +31,26 @@ const uint32_t g_ADigitalPinMap[] =
3131
34, // D2 is P1.02
3232
6, // D3 is P0.06 LED
3333
29, // D4 is P0.29 Button
34-
40, // D5 is P1.08
34+
27, // D5 is P0.27
3535
41, // D6 is P1.09 (DotStar Clock)
36-
7, // D7 is P0.07
36+
40, // D7 is P1.08
3737
8, // D8 is P0.08 (DotStar Data)
38-
5, // D9 is P0.05
39-
26, // D10 is P0.26
40-
27, // D11 is P0.27
38+
7, // D9 is P0.07
39+
5, // D10 is P0.05
40+
26, // D11 is P0.26
4141
11, // D12 is P0.11
4242
12, // D13 is P0.12
4343

4444
// D14 .. D20 (aka A0 .. A7)
4545
4, // D14 is P0.04 (A0)
46-
31, // D15 is P0.31 (A1)
47-
30, // D16 is P0.30 (A2)
48-
28, // D17 is P0.28 (A3)
46+
30, // D15 is P0.30 (A1)
47+
28, // D16 is P0.28 (A2)
48+
31, // D17 is P0.31 (A3)
4949
2, // D18 is P0.02 (A4)
5050
3, // D19 is P0.03 (A5)
5151

5252
// Extra Analog pin #20
53-
5, // D20 is P0.05 (A6/A9)
53+
5, // D20 is P0.05 (A6/D10)
5454

5555
// D21 .. D22 (aka I2C pins)
5656
16, // D21 is P0.16 (SDA)

0 commit comments

Comments
 (0)