shared

Dependencies:   mbed-rtos mbed

Fork of Boboobooo by kao yi

Revision:
1:82bc25a7b68b
Parent:
0:68c173249c01
Child:
2:c51647d3c14d
--- a/camera_api.h	Sun May 25 12:41:59 2014 +0000
+++ b/camera_api.h	Tue Jun 03 15:53:55 2014 +0000
@@ -1,4 +1,4 @@
-
+#include "bx-adc.h"
 
 
 class BX_camera{
@@ -7,17 +7,27 @@
     
     public:
     
+    BX_camera(char cam);
     
+    void read(void); //block in here
+    
+    
+    unsigned int line_image[128];
+    
+    char sign_line_image[128];
     
     private:
     
     
-    DigitalOut *line_CLK;
+    DigitalOut *cam_clk;
 
     DigitalOut *si;
-
+    
+    FastAnalogIn *line_Cam; 
 
+    int w_f_v;
     
+    int b_f_v;