Firmware · Timers and PWM

Why not a delay loop

Timing a delay by counting loop passes seems simple, but the time it takes depends on things the code doesn't control.