tessel/camera-vc0706 — pull request #17 by nlintz (2014-06-12 04:37:24+00:00)
Title: Nl fix garbled images

Added getCompression to firmware. This method is used primarily for debugging. By logging the uart data after calling getCompression, you'll get a packet like where the final argument is the compression of the camera.

Also, changed the compressionPacket in vclib to implement the correct protocol for setting the compression for the VC0706 camera. Right now, that feature doesn't work, but this fix will prevent people from getting garbled data after setCompression.

TODO: Implement a resolve function for getCompression which will convert the returned value into something useful.

Reviewed by: @johnnyman727