Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BX-car by
Revision 4:05b21dbca0c7, committed 2014-06-05
- Comitter:
- backman
- Date:
- Thu Jun 05 10:28:19 2014 +0000
- Parent:
- 3:c5f2281b3ed2
- Child:
- 5:e32b091aa1fb
- Commit message:
- clean newline
Changed in this revision
| camera_api.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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){
