GPIO# | Power-on Pull | Alternate Functions | Header Pin |
---|---|---|---|
2 | PullUp | I2C1 SDA | 3 |
3 | PullUp | I2C1 SCL | 5 |
4 | PullUp | 7 | |
5 | PullUp | 29 | |
6 | PullUp | 31 | |
7 | PullUp | SPI0 CS1 | 26 |
8 | PullUp | SPI0 CS0 | 24 |
9 | PullDown | SPI0 MISO | 21 |
10 | PullDown | SPI0 MOSI | 19 |
11 | PullDown | SPI0 SCLK | 23 |
12 | PullDown | 32 | |
13 | PullDown | 33 | |
16 | PullDown | SPI1 CS0 | 36 |
17 | PullDown | 11 | |
18 | PullDown | 12 | |
19 | PullDown | SPI1 MISO | 35 |
20 | PullDown | SPI1 MOSI | 38 |
21 | PullDown | SPI1 SCLK | 40 |
22 | PullDown | 15 | |
23 | PullDown | 16 | |
24 | PullDown | 18 | |
25 | PullDown | 22 | |
26 | PullDown | 37 | |
27 | PullDown | 13 | |
35* | PullUp | Red Power LED | |
47* | PullUp | Green Activity LED |
I2cDevice.FromIdAsync()
or SpiDevice.FromIdAsync()
, the pins required by the function are automatically switched ('muxed') to the correct function. When the device is closed by calling I2cDevice.Dispose()
or SpiDevice.Dispose()
, the pins revert back to their default function. Netsurveillance rtsp url. If you try to use a pin for two different functions at once, an exception will be thrown when you try to open the conflicting function. For example,Signal Name | Header Pin Number | Gpio Number |
---|---|---|
SDA | 3 | 2 |
SCL | 5 | 3 |
Signal Name | Header Pin Number | Gpio Number |
---|---|---|
MOSI | 19 | 10 |
MISO | 21 | 9 |
SCLK | 23 | 11 |
CS0 | 24 | 8 |
CS1 | 26 | 7 |
Signal Name | Header Pin Number | Gpio Number |
---|---|---|
MOSI | 38 | 20 |
MISO | 35 | 19 |
SCLK | 40 | 21 |
CS0 | 36 | 16 |