ON 20070514@6:49:46 PM at page: http://www.piclist.com/microchip/16F877/pwm.htm#39216.4370138889 James Newton[JMN-EFP-786] published post 39216.4370138889 Quite possible that my advice is thoroughly outdated, but as of Liew's question, first you have to decide an application for the PWM output (like driving a switch in a Switch Mode converter)...as far as using it on LED's is concerned, if you connect the LED, with suitable series resistence, to output RC2, you would indeed notice the difference in light intensity with duty ratio; however, the switching would be impossible to notice by naked eye at a frequnecy of 1kHz, but you can always look at the waveform on O-scope. |Delete 'P-' before: '' but after: '