Here is something else if you want to go the route of sending "good" data the first time.
You might be able to get an idea or two... or more confused
http://www.picbasic.co.uk/forum/showthread.php?t=12554