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 Boboobooov4 by
Diff: main.cpp
- Revision:
- 17:3dac99cf2b89
- Parent:
- 16:b78dce5c0e98
- Child:
- 18:eb675df59c7f
--- a/main.cpp Sun Jun 29 14:32:30 2014 +0000 +++ b/main.cpp Mon Jun 30 03:37:05 2014 +0000 @@ -8,8 +8,8 @@ #include "TSISensor.h" #define Debug_cam_uart -//#define L_eye -#define R_eye +#define L_eye +//#define R_eye #define motor_on #define Pcontroller #define task_ma_time @@ -93,7 +93,7 @@ stdio_mutex.lock(); #ifdef Debug_cam_uart #ifdef L_eye - pc.printf("R: "); + pc.printf("L: "); for(int i=128;i>=0;i--){ if(i==64) pc.printf("X"); @@ -119,8 +119,10 @@ else pc.printf("%c", cam.sign_line_imageR[i]); } - pc.printf("\r\n center :%d servo: %f \r\n",cam.black_centerR(),v_servo); - #endif + #endif + + pc.printf("\r\n Rcenter :%d Lcenter : %d servo: %f \r\n",cam.black_centerR(),cam.black_centerL(),v_servo); + stdio_mutex.unlock();