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 Boboobooov5 by
Revision 22:25602957d6bf, committed 2014-07-11
- Comitter:
- fhcrcmars
- Date:
- Fri Jul 11 07:44:10 2014 +0000
- Parent:
- 21:9b00595af99a
- Commit message:
- test camera line bits
Changed in this revision
camera_api.cpp | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/camera_api.cpp Sun Jul 06 12:37:48 2014 +0000 +++ b/camera_api.cpp Fri Jul 11 07:44:10 2014 +0000 @@ -19,14 +19,14 @@ int BX_camera::black_centerR(void) { - int l_care=5; - int r_care=123; + int l_care=10; + int r_care=64; int b_start=0; int b_end=0; bool l_f1=false; bool l_f2=false; bool find=false; - int b_thr_up=15; + int b_thr_up=20; int b_thr_dn=3; int b_w=0; @@ -66,14 +66,14 @@ int BX_camera::black_centerL(void) { - int l_care=10; - int r_care=123; + int l_care=64; + int r_care=115; int b_start=0; int b_end=0; bool l_f1=false; bool l_f2=false; bool find=false; - int b_thr_up=15; + int b_thr_up=20; int b_thr_dn=3; int b_w=0;
--- a/main.cpp Sun Jul 06 12:37:48 2014 +0000 +++ b/main.cpp Fri Jul 11 07:44:10 2014 +0000 @@ -129,7 +129,7 @@ //servo.set_angle(0.055); pc.baud(115200); - // Thread th_c(cam_thread); + Thread th_c(cam_thread); Thread th_de(de_thread); while(1){