an SPI interface the cmu pixy camera
Dependents: robotic_fish_ver_4_9_pixy UMO
Diff: pixy.h
- Revision:
- 1:439c7574a5ee
- Parent:
- 0:1b99a0bee9e0
- Child:
- 2:fc86438b206f
--- a/pixy.h Mon Jun 02 21:02:09 2014 +0000 +++ b/pixy.h Mon Jun 02 21:30:22 2014 +0000 @@ -6,16 +6,6 @@ //this details the object block format of returned data as described in //http://www.cmucam.org/projects/cmucam5/wiki/Pixy_Serial_Protocol -struct objectBlock { - short sync; //spi sync data - short checksum; //the sum of everything BELOW this - short signature; //signature number of detection - short xcenter; //x center pixrl position of block - short ycenter; //y center pixel position of block - short width; //width of detection in pixels - short height; //height of detection in pixels -}; - //blatantly stole this from their code struct Block {