Page 1 of 1

setting color map

PostPosted: Wed May 17, 2006 4:55 pm
by JIMc
I am a little fuzzy on setting the colormap. Is this correct:
red0 - low red number of first color
red1 - high red number of first color

green0 - low green number of first color
green1 - high green number of first color

blue0 - low blue number of first color
blue1 - high blue number of first color
In order to set only one color you would send red0 and red1 bytes followed by 14 zeros indicating the other 7 red numbered pairs. Then the 17th and 18th bytes sent would be green0 and green1? And so on....??
In all you have to send 48 bytes plus a carriage return to set one color?