123

Dependencies:   mbed

Fork of Boboobooo by Clark Lin

Revision:
3:c5f2281b3ed2
Parent:
2:c51647d3c14d
diff -r c51647d3c14d -r c5f2281b3ed2 camera_api.h
--- a/camera_api.h	Wed Jun 04 12:56:52 2014 +0000
+++ b/camera_api.h	Wed Jun 04 14:41:28 2014 +0000
@@ -11,13 +11,14 @@
   //static  
      void read(void); //block in here
     
-     unsigned int line_imageR[128];
-     unsigned int line_imageL[128];
+     
     
     
     BX_camera();
     
-   
+    
+    int  black_centerR(void); //index 0~127
+    int  black_centerL(void); 
     
     
     char sign_line_imageL[128];
@@ -31,6 +32,10 @@
            FastAnalogIn* line_CamL;  
            DigitalOut* cam_clk;
            DigitalOut* si;
+           
+           unsigned int line_imageR[128];   //may buffer
+           unsigned int line_imageL[128];
+           
          
           int w_f_vL;
           int b_f_vL;