I've been reading up on packets and their use, but I havent been able to find a good source or set of instructions on how to create one. If I use your example from before PaulS, the packet I wanna create should look like this: <R, redvalue, greenvalue, bluevalue>
So I have to establish '<' is the start of the packet, ???. I read something in my search I should try to make each step a function for debugging purposes later on?