1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| read_sif(0x12,0x80) ; // RESET CAMERA
Sleep(200);
read_sif(REG_CLKRC,0x80);
read_sif(REG_COM11,0x0A) ;
read_sif(REG_TSLB,0x04);
read_sif(REG_COM7,(0x04| 0x02) ) ;
read_sif(REG_RGB444, 0x02);
read_sif(REG_COM15, 0xd0);
read_sif(REG_HSTART,0x16) ;
read_sif(REG_HSTOP,0x04) ;
read_sif(REG_HREF,0x24) ;
read_sif(REG_VSTART,0x02) ;
read_sif(REG_VSTOP,0x7a) ;
read_sif(REG_VREF,0x0a) ;
//read_sif(REG_COM10,0x02) ;
read_sif(REG_COM10,0x00) ;
read_sif(REG_COM3, 0x04);
read_sif(REG_COM14, 0x1a);
read_sif(0x72, 0x22);
read_sif(0x73, 0xf2);
// COLOR SETTING
read_sif(0x4f,0x80);
read_sif(0x50,0x80);
read_sif(0x51,0x00);
read_sif(0x52,0x22);
read_sif(0x53,0x5e);
read_sif(0x54,0x80);
read_sif(0x56,0x40);
read_sif(0x58,0x9e);
read_sif(0x59,0x88);
read_sif(0x5a,0x88);
read_sif(0x5b,0x44);
read_sif(0x5c,0x67);
read_sif(0x5d,0x49);
read_sif(0x5e,0x0e);
read_sif(0x69,0x00);
read_sif(0x6a,0x40);
read_sif(0x6b,0x0a);
read_sif(0x6c,0x0a);
read_sif(0x6d,0x55);
read_sif(0x6e,0x11);
read_sif(0x6f,0x9f);
read_sif(0xb0,0x84); |