Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. #API version 0.1
  2. #msg = "%d %d %d %d %d" % (x, y, color[0], color[1], color[2])
  3.  
  4. #API version 0.2
  5. msg = struct.pack("hhBBB", x, y, color[0], color[1], color[2])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement