Clark Lin
/
BX-car_s
QQQ
Fork of BX-car_s by
Diff: camera_api.h
- Revision:
- 17:af867c7512bb
- Parent:
- 7:fd976e1ced33
- Child:
- 19:eb0552a0ddae
--- a/camera_api.h Sat Jun 28 14:21:19 2014 +0000 +++ b/camera_api.h Sat Jun 28 18:59:41 2014 +0000 @@ -5,50 +5,28 @@ //cause same si and clk camR ,camL are synchronous class BX_camera{ - - public: - - //static - void read(void); //block in here - - - - + +public: + //static + void read(void); //block in here BX_camera(); - - int black_centerR(void); //index 0~127 - int black_centerL(void); - - + int black_centerL(void); char sign_line_imageL[128]; char sign_line_imageR[128]; - int de_v; int de_v2; - - private: - - FastAnalogIn* line_CamR; - FastAnalogIn* line_CamL; - DigitalOut* cam_clk; - DigitalOut* si; - - unsigned int line_imageR[128]; //may buffer - unsigned int line_imageL[128]; - - - int w_f_vL; - int b_f_vL; - - int w_f_vR; - int b_f_vR; - - - +private: + FastAnalogIn* line_CamR; + FastAnalogIn* line_CamL; + DigitalOut* cam_clk; + DigitalOut* si; + unsigned int line_imageR[128]; //may buffer + unsigned int line_imageL[128]; + int w_f_vL; + int b_f_vL; + int w_f_vR; + int b_f_vR; - - - - }; \ No newline at end of file +}; \ No newline at end of file