Want to help make Pinout.xyz better? Please support us at Patreon.com

Raspberry Pi Pinout

BCM 18 (PWM0)

Alt0Alt1Alt2Alt3Alt4Alt5
PCM CLKSMI SD10DPI D14I2CSL SDA / MOSISPI1 CE0PWM0
  • 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.