Fixed transmitting of colors, added basic pattern

Fixed the position lookup table, fixed the setvalue() function.
Added some basic patterns.

TODO:
Fading still not working, should look into the setvalue function