BCM 18 (PWM0)
Alt0 | Alt1 | Alt2 | Alt3 | Alt4 | Alt5 |
---|---|---|---|---|---|
PCM CLK | SMI SD10 | DPI D14 | I2CSL SDA / MOSI | SPI1 CE0 | PWM0 |
- Physical pin 12
- BCM pin 18
- Wiring Pi pin 1
The PWM0 output of BCM 18 is particularly useful, in combination with some fast, direct memory access trickery, for driving tricky devices with very specific timings. The WS2812 LEDs on the Unicorn HAT are a good example of this in action.