This circuit cobines a variable-duty cycle PWM generator with a high-side p-channel MOSFET driver circuit,
making it suitable for controlling loads up to 15V/23A.
As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub