shared

Dependencies:   mbed-rtos mbed

Fork of Boboobooo by kao yi

Committer:
backman
Date:
Wed Jun 04 12:56:52 2014 +0000
Revision:
2:c51647d3c14d
Parent:
1:82bc25a7b68b
Child:
3:c5f2281b3ed2
two cam

Who changed what in which revision?

UserRevisionLine numberNew contents of line
backman 1:82bc25a7b68b 1 #include "bx-adc.h"
backman 2:c51647d3c14d 2 #include "mbed.h"
backman 0:68c173249c01 3
backman 0:68c173249c01 4
backman 2:c51647d3c14d 5 //cause same si and clk camR ,camL are synchronous
backman 2:c51647d3c14d 6
backman 0:68c173249c01 7 class BX_camera{
backman 0:68c173249c01 8
backman 2:c51647d3c14d 9 public:
backman 2:c51647d3c14d 10
backman 2:c51647d3c14d 11 //static
backman 2:c51647d3c14d 12 void read(void); //block in here
backman 2:c51647d3c14d 13
backman 2:c51647d3c14d 14 unsigned int line_imageR[128];
backman 2:c51647d3c14d 15 unsigned int line_imageL[128];
backman 2:c51647d3c14d 16
backman 2:c51647d3c14d 17
backman 2:c51647d3c14d 18 BX_camera();
backman 2:c51647d3c14d 19
backman 2:c51647d3c14d 20
backman 2:c51647d3c14d 21
backman 2:c51647d3c14d 22
backman 2:c51647d3c14d 23 char sign_line_imageL[128];
backman 2:c51647d3c14d 24 char sign_line_imageR[128];
backman 2:c51647d3c14d 25
backman 2:c51647d3c14d 26
backman 2:c51647d3c14d 27
backman 2:c51647d3c14d 28 private:
backman 2:c51647d3c14d 29
backman 2:c51647d3c14d 30 FastAnalogIn* line_CamR;
backman 2:c51647d3c14d 31 FastAnalogIn* line_CamL;
backman 2:c51647d3c14d 32 DigitalOut* cam_clk;
backman 2:c51647d3c14d 33 DigitalOut* si;
backman 2:c51647d3c14d 34
backman 2:c51647d3c14d 35 int w_f_vL;
backman 2:c51647d3c14d 36 int b_f_vL;
backman 2:c51647d3c14d 37
backman 2:c51647d3c14d 38 int w_f_vR;
backman 2:c51647d3c14d 39 int b_f_vR;
backman 2:c51647d3c14d 40
backman 0:68c173249c01 41
backman 0:68c173249c01 42
backman 0:68c173249c01 43
backman 0:68c173249c01 44
backman 0:68c173249c01 45
backman 0:68c173249c01 46
backman 0:68c173249c01 47 };