good

Dependencies:   mbed

Fork of BX-car by Clark Lin

Revision:
4:05b21dbca0c7
Parent:
3:c5f2281b3ed2
Child:
5:e32b091aa1fb
--- a/camera_api.cpp	Wed Jun 04 14:41:28 2014 +0000
+++ b/camera_api.cpp	Thu Jun 05 10:28:19 2014 +0000
@@ -10,15 +10,11 @@
            line_CamL=   new FastAnalogIn(PTD6,0);  
             cam_clk=new DigitalOut(PTE1);
             si=new DigitalOut(PTD7);
-     
-   
-     
-     
+
      }
  
 int BX_camera::black_centerR(void){
-    
-    
+       
          // find center 
          // case 1      //  |  //
          // case 2       /  |  /
@@ -109,10 +105,7 @@
                    
                    
                    break;    
-                   
-                   
-                   
-                   
+      
                }
         
                
@@ -165,8 +158,7 @@
      bool f2=false;
      bool f3=false;
      bool f4=false;
-         
-         
+
             if(sign_line_imageL[64]==' ')
               find_type=0x02;
             else
@@ -210,14 +202,7 @@
                                   }
                                   
                          }
-                         
-                         
-                         
-                       
-                       
-                       
-                   
-                   
+                                    
                    break;
                    
                    
@@ -241,14 +226,10 @@
                         }
                    
                    
-                   break;    
-                   
-                   
-                   
+                   break;               
                    
                }
-        
-               
+         
            }
        
             
@@ -273,16 +254,7 @@
  
  }
  
- 
- 
- 
- 
- 
- 
- 
- 
- 
- 
+
  
  void BX_camera::read(void){