Skip to content

Commit e06d1db

Browse files
committed
Add pinout diagram
1 parent 8cb421d commit e06d1db

File tree

1 file changed

+12
-0
lines changed
  • targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_OSHCHIP

1 file changed

+12
-0
lines changed

targets/TARGET_NORDIC/TARGET_NRF5/TARGET_MCU_NRF51822_UNIFIED/TARGET_OSHCHIP/PinNames.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,18 @@ typedef enum {
119119
P0_28 = p28,
120120
P0_29 = p29,
121121
P0_30 = p30,
122+
/*
123+
┏━━━━━━━━━━┓
124+
UART┬── TX D0 ╶┨ 1 ╒╕ 16 ┠╴ VCC
125+
└── RX D1 ╶┨ 2 ╘╛ 15 ┠╴ D8 SCL ─┬I²C
126+
D2 ╶┨ 3 14 ┠╴ D7 SDA ─┘
127+
SPI┬ MOSI D3 ╶┨ 4 13 ┠╴ A0
128+
│ MISO D4 ╶┨ 5 ┌──┐12 ┠╴ A
129+
│ SEL D5 ╶┨ 6 └──┘11 ┠╴ D9 AREF
130+
└─ CLK D4 ╶┨ 7 10 ┠╴ A2
131+
GND ╶┨ 8 :: 9 ┠╴ A3
132+
┗━━━━━━━━━━┛
133+
*/
122134

123135
OSHCHIP_PIN_1 = p20,
124136
OSHCHIP_PIN_2 = p18,

0 commit comments

Comments
 (0)