Author Options:

I want to control LED bright/dim with push buttons. Can help? Answered

want to dim/ bright LED with two push buttons. PIC 12F675 and 16F628A will helpful to me. Thanks



11 years ago

I've not yet used PICs, but I asume if you have them you know how to do the programming.

If I've understood your question correctly, you want to strobe an LED so that to make it dimmer you increase the space ratio and to make it brighter, reduce the space to mark ratio.

This site explains PWM well: http://www.reuk.co.uk/LED-Dimmer-Circuit.htm

The process you need to look up on google if you need more information is 'LED dimming with PWM' (pulse width modulation).