Custom PWM Frequency Example

@Alligator Check out our 'hack' of using the serial i/f to generate PWM. It is possible to customise for a selection of duty cycles. 30kHz is supported in the code.