GPIO 18 (PCM Clock)
|PCM CLK||SMI SD10||DPI D14||I2CSL SDA / MOSI||SPI1 CE0||PWM0|
- Physical/Board pin 12
- GPIO/BCM pin 18
- Wiring Pi pin 1
GPIO 18 is used by PCM to provide a clock signal to an external audio device such as a DAC chip.
The PWM0 output of GPIO 18 is particularly useful, in combination with some fast, direct memory access trickery, for driving devices with very specific timings. The WS2812 LEDs on the Unicorn HAT are a good example of this in action.