Raspberry Pi practice problem · LEDs & PWM
Lighthouse
EasyBudget $2Python · gpiozero
A lighthouse doesn't blink evenly: it gives a short flash and then stays dark for a long time.
An LED on GPIO27 flashes 0.2 s on, 1.8 s off, forever — one flash every 2 s, the first one right at the start.
Tip: LED.blink() takes on_time and off_time separately.