PWM module example for LPC Open Library (modified version by SSR)