Author Options:

how do I control brightness of RGB Led using PWM module Answered

Hi,  I'm new to using Programming integrated circuit (PIC), I just acquired a PICKIT 3 made up of PIC18F45K20 Microcontroller. I'm need help understanding how to control brightness/ dimness of a RGB  led using PWM. The problem here is most tutorial I've come across only explain how to do this using one or more of the same type of led (same color). I need a tutorial explaining how to control brightness of red green and blue and whatever dimness state (say 20%) is, it remains in the same brightness when i pick a different color. if someone can direct me to a tutorial on how to configure RGB (not just LEDs) and using PWM. that would be much appreciated.



3 years ago

Try this.