![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
wu
Fork of CCC by
Diff: main.cpp
- Revision:
- 17:3dac99cf2b89
- Parent:
- 16:b78dce5c0e98
--- 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();