These examples demonstrate how Pulse-Width Modulation is used with Raspberry Pi and gpiozero to regulate brightness of LEDs. Both calculated and lookup table methods are shown.