PWM on the LPC1114

This example doesn’t need the prescaler because the number of pulses required to achieve the desired output frequency (2.2KHz) is small enough to be hold on a 16 bit variable. PWM0 is the active output. PWM_CYCLE is the channel for the pwm period. PWM1 (line 10) is not used in this example. I just forget […]

Leer más PWM on the LPC1114