shared

Dependencies:   mbed-rtos mbed

Fork of Boboobooo by kao yi

Committer:
backman
Date:
Tue Jun 03 15:53:55 2014 +0000
Revision:
1:82bc25a7b68b
Parent:
0:68c173249c01
Child:
2:c51647d3c14d
cam_algroithm

Who changed what in which revision?

UserRevisionLine numberNew contents of line
backman 1:82bc25a7b68b 1 #include "bx-adc.h"
backman 0:68c173249c01 2
backman 0:68c173249c01 3
backman 0:68c173249c01 4 class BX_camera{
backman 0:68c173249c01 5
backman 0:68c173249c01 6
backman 0:68c173249c01 7
backman 0:68c173249c01 8 public:
backman 0:68c173249c01 9
backman 1:82bc25a7b68b 10 BX_camera(char cam);
backman 0:68c173249c01 11
backman 1:82bc25a7b68b 12 void read(void); //block in here
backman 1:82bc25a7b68b 13
backman 1:82bc25a7b68b 14
backman 1:82bc25a7b68b 15 unsigned int line_image[128];
backman 1:82bc25a7b68b 16
backman 1:82bc25a7b68b 17 char sign_line_image[128];
backman 0:68c173249c01 18
backman 0:68c173249c01 19 private:
backman 0:68c173249c01 20
backman 0:68c173249c01 21
backman 1:82bc25a7b68b 22 DigitalOut *cam_clk;
backman 0:68c173249c01 23
backman 0:68c173249c01 24 DigitalOut *si;
backman 1:82bc25a7b68b 25
backman 1:82bc25a7b68b 26 FastAnalogIn *line_Cam;
backman 0:68c173249c01 27
backman 1:82bc25a7b68b 28 int w_f_v;
backman 0:68c173249c01 29
backman 1:82bc25a7b68b 30 int b_f_v;
backman 0:68c173249c01 31
backman 0:68c173249c01 32
backman 0:68c173249c01 33
backman 0:68c173249c01 34
backman 0:68c173249c01 35
backman 0:68c173249c01 36
backman 0:68c173249c01 37
backman 0:68c173249c01 38
backman 0:68c173249c01 39
backman 0:68c173249c01 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
backman 0:68c173249c01 48
backman 0:68c173249c01 49
backman 0:68c173249c01 50
backman 0:68c173249c01 51
backman 0:68c173249c01 52 };