Custom PWM Frequency Example

@Alligator, variable frequency PWM is not part of the Core or Photon firmware functions, at least not at this time.

@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.