VHDL regulating intensity 3 LED

Guest #4059230
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?
Moderator (Company: Titel) #4059518
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...

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.