EmbDev.net

Forum: FPGA, VHDL & Verilog VHDL regulating intensity 3 LED


von ghost (Guest)


Rate this post
useful
not useful
Hello, I would like to help with the programming of the controller 
intensity of two ice using buttons so that they are three buttons (not 
one single color RGB) by pressing one button, the intensity of the LED 
will increase by one 0-256 (0-100%) and others do the same so that it is 
possible to set different colors through mixing. Thanks for any help.
Any question?

von Lothar M. (Company: Titel) (lkmiller) (Moderator)


Rate this post
useful
not useful
256 is not a good number. It wastes 254 increments, because it needs 9 
bits instead of 8 needed for 0..255. Think about that...

ghost wrote:
> I would like to help with the programming
Whom would you like to help?
Or do you mean you need help?
Then lets try that fairly simple task this way: you start with 
something, report the problems with that, and we discuss some possible 
solutions...

: Edited by Moderator
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.