Output Constructor |
public Output( pin_id_t pin, double duty = 0 )
All PWM outputs share the same pulse frequency.
You must set the common PWM output pulse frequency (i.e.IO.Objects.LPC1114IOP.PWM.Output.frequency = 1000;) before configuring a PWM output.