??? 05/21/10 12:55 Read: times |
#176117 - If you answer a question... Responding to: ???'s previous message |
So, does the scheme with the AT89S52 and MOSFETs work?
Chico said:
I have thought about a color table, I can code it, but, I dont know how to generate a good color table. Each colour is represented by a set of three numbers, each running from 0 to 255, one number for each elementary colour, so, one number for R, one for G and one for B. Each number represents the intensity of corresponding elementary colour: 0 = zero intensity, 255 = maximum intensity. Have also a look at this: http://www.colorschemer.com/online.html If you want to have 125 colours, you will need a table consisting of three entries for each of the 125 colors, one entry for each elementary colour. Or you could do it with three tables, one for each elementary number. So, "colour 110" of your colour set might mean: R=57, G=31 and B=255. Take note, that not each set of numbers for R,G and B might give a meaningful colour or might give a colour being enough different from another set. So, you must find "your" 125 colours, the colours that make sense to you and fullfill your needs. Kai Klaas |