an SPI interface the cmu pixy camera
Dependents: robotic_fish_ver_4_9_pixy UMO
Diff: pixy.h
- Revision:
- 8:a915c5eff55a
- Parent:
- 7:e57b18779bf1
- Child:
- 9:89b9d1a6457c
--- a/pixy.h Fri Jun 06 16:18:49 2014 +0000 +++ b/pixy.h Fri Jun 06 19:47:27 2014 +0000 @@ -1,6 +1,5 @@ #pragma once #include "mbed.h" -#include "rtos.h" #define INVALID_BLOCK 20 #define CENTER_X 320 @@ -36,7 +35,7 @@ public: pixySPI(PinName mosi,PinName miso,PinName sclk, int nBlocks); ~pixySPI(); - void capture(Mutex* mutex); //fills in the blocks pointer + void capture(); //fills in the blocks pointer char getRawData(); Block* getBlocks(); int getNumBlocks();