Introduction - If you have any usage issues, please Google them yourself
P87LPC768 based motor control system (description and source) [the use of pulse width modulation P87LPC768 functions of motor speed control with constant P87LPC768 own A/D conversion