SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Committer:
hazheng
Date:
Thu Mar 30 22:34:20 2017 +0000
Revision:
46:a5eb9bd3bb55
Parent:
44:15de535c4005
Child:
48:f76b5e252444
Changed more code into pure C style. Finished driving complete circle! Both screen and camera works fine!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hazheng 29:f87d8790f57d 1 #pragma once
hazheng 29:f87d8790f57d 2 #ifndef OV2640_REG_PROG_H
hazheng 29:f87d8790f57d 3 #define OV2640_REG_PROG_H
hazheng 29:f87d8790f57d 4
hazheng 30:ff7f83ad6369 5 #include "CamRegDefinitions.h"
hazheng 29:f87d8790f57d 6
hazheng 36:7e747e19f660 7 #if defined(ARDUCAM_OV2640)
hazheng 36:7e747e19f660 8
hazheng 36:7e747e19f660 9 #define CAM_SCCB_WRITE 0x60
hazheng 36:7e747e19f660 10 #define CAM_SCCB_READ 0x61
hazheng 29:f87d8790f57d 11
hazheng 36:7e747e19f660 12 #define CAM_PID_VALUE 0x26
hazheng 36:7e747e19f660 13 #define CAM_VER_VALUE 0x42
hazheng 29:f87d8790f57d 14
hazheng 36:7e747e19f660 15 #define CAM_PID_ADDR 0x0A
hazheng 36:7e747e19f660 16 #define CAM_VER_ADDR 0x0B
hazheng 30:ff7f83ad6369 17
hazheng 46:a5eb9bd3bb55 18 //namespace OV2640Prog
hazheng 46:a5eb9bd3bb55 19 //{
hazheng 33:e3fcc4d6bb9b 20
hazheng 36:7e747e19f660 21 const struct sensor_reg ResetProg[] =
hazheng 36:7e747e19f660 22 {
hazheng 36:7e747e19f660 23 {0xff, 0x01},
hazheng 36:7e747e19f660 24 {0x12, 0x80},
hazheng 36:7e747e19f660 25 {0xff, 0xff},
hazheng 36:7e747e19f660 26 };
hazheng 36:7e747e19f660 27
hazheng 33:e3fcc4d6bb9b 28 #if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 800) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 600)
hazheng 32:5badeff825dc 29 const struct sensor_reg SVGA[] =
hazheng 32:5badeff825dc 30 {
hazheng 33:e3fcc4d6bb9b 31 {0xff, 0x00},
hazheng 32:5badeff825dc 32 {0x2c, 0xff},
hazheng 32:5badeff825dc 33 {0x2e, 0xdf},
hazheng 32:5badeff825dc 34 {0xff, 0x01},
hazheng 32:5badeff825dc 35 {0x3c, 0x32},
hazheng 32:5badeff825dc 36 //
hazheng 32:5badeff825dc 37 {0x11, 0x00},
hazheng 32:5badeff825dc 38 {0x09, 0x02},
hazheng 32:5badeff825dc 39 {0x04, 0x28},
hazheng 32:5badeff825dc 40 {0x13, 0xe5},
hazheng 32:5badeff825dc 41 {0x14, 0x48},
hazheng 32:5badeff825dc 42
hazheng 32:5badeff825dc 43 {0x2c, 0x0c},
hazheng 32:5badeff825dc 44 {0x33, 0x78},
hazheng 32:5badeff825dc 45 {0x3a, 0x33},
hazheng 32:5badeff825dc 46 {0x3b, 0xfB},
hazheng 32:5badeff825dc 47 //
hazheng 32:5badeff825dc 48 {0x3e, 0x00},
hazheng 32:5badeff825dc 49 {0x43, 0x11},
hazheng 32:5badeff825dc 50 {0x16, 0x10},
hazheng 32:5badeff825dc 51 //
hazheng 32:5badeff825dc 52 {0x39, 0x92},
hazheng 32:5badeff825dc 53 //
hazheng 32:5badeff825dc 54 {0x35, 0xda},
hazheng 32:5badeff825dc 55 {0x22, 0x1a},
hazheng 32:5badeff825dc 56 {0x37, 0xc3},
hazheng 32:5badeff825dc 57 {0x23, 0x00},
hazheng 32:5badeff825dc 58 {0x34, 0xc0},
hazheng 32:5badeff825dc 59 {0x36, 0x1a},
hazheng 32:5badeff825dc 60 {0x06, 0x88},
hazheng 32:5badeff825dc 61 {0x07, 0xc0},
hazheng 32:5badeff825dc 62 {0x0d, 0x87},
hazheng 32:5badeff825dc 63 {0x0e, 0x41},
hazheng 32:5badeff825dc 64 {0x4c, 0x00},
hazheng 32:5badeff825dc 65 {0x48, 0x00},
hazheng 32:5badeff825dc 66 {0x5B, 0x00},
hazheng 32:5badeff825dc 67 {0x42, 0x03},
hazheng 32:5badeff825dc 68 //
hazheng 32:5badeff825dc 69 {0x4a, 0x81},
hazheng 32:5badeff825dc 70 {0x21, 0x99},
hazheng 32:5badeff825dc 71 //
hazheng 32:5badeff825dc 72 {0x24, 0x40},
hazheng 32:5badeff825dc 73 {0x25, 0x38},
hazheng 32:5badeff825dc 74 {0x26, 0x82},
hazheng 32:5badeff825dc 75 {0x5c, 0x00},
hazheng 32:5badeff825dc 76 {0x63, 0x00},
hazheng 32:5badeff825dc 77 {0x46, 0x22},
hazheng 32:5badeff825dc 78 {0x0c, 0x3c},
hazheng 32:5badeff825dc 79 //
hazheng 32:5badeff825dc 80 {0x61, 0x70},
hazheng 32:5badeff825dc 81 {0x62, 0x80},
hazheng 32:5badeff825dc 82 {0x7c, 0x05},
hazheng 32:5badeff825dc 83 //
hazheng 32:5badeff825dc 84 {0x20, 0x80},
hazheng 32:5badeff825dc 85 {0x28, 0x30},
hazheng 32:5badeff825dc 86 {0x6c, 0x00},
hazheng 32:5badeff825dc 87 {0x6d, 0x80},
hazheng 32:5badeff825dc 88 {0x6e, 0x00},
hazheng 32:5badeff825dc 89 {0x70, 0x02},
hazheng 32:5badeff825dc 90 {0x71, 0x94},
hazheng 32:5badeff825dc 91
hazheng 32:5badeff825dc 92 {0x73, 0xc1},
hazheng 32:5badeff825dc 93 //
hazheng 32:5badeff825dc 94 {0x12, 0x40},
hazheng 32:5badeff825dc 95 {0x17, 0x11},
hazheng 32:5badeff825dc 96 {0x18, 0x43},
hazheng 32:5badeff825dc 97 {0x19, 0x00},
hazheng 32:5badeff825dc 98 {0x1a, 0x4b},
hazheng 32:5badeff825dc 99 {0x32, 0x09},
hazheng 32:5badeff825dc 100 {0x37, 0xc0},
hazheng 32:5badeff825dc 101 {0x4f, 0xca},
hazheng 32:5badeff825dc 102 {0x50, 0xa8},
hazheng 32:5badeff825dc 103 {0x5a, 0x23},
hazheng 32:5badeff825dc 104 {0x6d, 0x00},
hazheng 32:5badeff825dc 105 {0x3d, 0x38},
hazheng 32:5badeff825dc 106 //
hazheng 32:5badeff825dc 107 {0xff, 0x00},
hazheng 32:5badeff825dc 108 {0xe5, 0x7f},
hazheng 32:5badeff825dc 109 {0xf9, 0xc0},
hazheng 32:5badeff825dc 110 {0x41, 0x24},
hazheng 32:5badeff825dc 111 {0xe0, 0x14},
hazheng 32:5badeff825dc 112 {0x76, 0xff},
hazheng 32:5badeff825dc 113 {0x33, 0xa0},
hazheng 32:5badeff825dc 114 {0x42, 0x20},
hazheng 32:5badeff825dc 115 {0x43, 0x18},
hazheng 32:5badeff825dc 116 {0x4c, 0x00},
hazheng 32:5badeff825dc 117 {0x87, 0xd5},
hazheng 32:5badeff825dc 118 {0x88, 0x3f},
hazheng 32:5badeff825dc 119 {0xd7, 0x03},
hazheng 32:5badeff825dc 120 {0xd9, 0x10},
hazheng 32:5badeff825dc 121 {0xd3, 0x82},
hazheng 32:5badeff825dc 122 //
hazheng 32:5badeff825dc 123 {0xc8, 0x08},
hazheng 32:5badeff825dc 124 {0xc9, 0x80},
hazheng 32:5badeff825dc 125 //
hazheng 32:5badeff825dc 126 {0x7c, 0x00},
hazheng 32:5badeff825dc 127 {0x7d, 0x00},
hazheng 32:5badeff825dc 128 {0x7c, 0x03},
hazheng 32:5badeff825dc 129 {0x7d, 0x48},
hazheng 32:5badeff825dc 130 {0x7d, 0x48},
hazheng 32:5badeff825dc 131 {0x7c, 0x08},
hazheng 32:5badeff825dc 132 {0x7d, 0x20},
hazheng 32:5badeff825dc 133 {0x7d, 0x10},
hazheng 32:5badeff825dc 134 {0x7d, 0x0e},
hazheng 32:5badeff825dc 135 //
hazheng 32:5badeff825dc 136 {0x90, 0x00},
hazheng 32:5badeff825dc 137 {0x91, 0x0e},
hazheng 32:5badeff825dc 138 {0x91, 0x1a},
hazheng 32:5badeff825dc 139 {0x91, 0x31},
hazheng 32:5badeff825dc 140
hazheng 32:5badeff825dc 141 {0x91, 0x5a},
hazheng 32:5badeff825dc 142 {0x91, 0x69},
hazheng 32:5badeff825dc 143 {0x91, 0x75},
hazheng 32:5badeff825dc 144 {0x91, 0x7e},
hazheng 32:5badeff825dc 145 {0x91, 0x88},
hazheng 32:5badeff825dc 146 {0x91, 0x8f},
hazheng 32:5badeff825dc 147 {0x91, 0x96},
hazheng 32:5badeff825dc 148 {0x91, 0xa3},
hazheng 32:5badeff825dc 149 {0x91, 0xaf},
hazheng 32:5badeff825dc 150 {0x91, 0xc4},
hazheng 32:5badeff825dc 151 {0x91, 0xd7},
hazheng 32:5badeff825dc 152 {0x91, 0xe8},
hazheng 32:5badeff825dc 153 {0x91, 0x20},
hazheng 32:5badeff825dc 154 //
hazheng 32:5badeff825dc 155 {0x92, 0x00},
hazheng 32:5badeff825dc 156 {0x93, 0x06},
hazheng 32:5badeff825dc 157 {0x93, 0xe3},
hazheng 32:5badeff825dc 158 {0x93, 0x05},
hazheng 32:5badeff825dc 159 {0x93, 0x05},
hazheng 32:5badeff825dc 160 {0x93, 0x00},
hazheng 32:5badeff825dc 161 {0x93, 0x04},
hazheng 32:5badeff825dc 162 {0x93, 0x00},
hazheng 32:5badeff825dc 163 {0x93, 0x00},
hazheng 32:5badeff825dc 164 {0x93, 0x00},
hazheng 32:5badeff825dc 165 {0x93, 0x00},
hazheng 32:5badeff825dc 166 {0x93, 0x00},
hazheng 32:5badeff825dc 167 {0x93, 0x00},
hazheng 32:5badeff825dc 168 {0x93, 0x00},
hazheng 32:5badeff825dc 169 //
hazheng 32:5badeff825dc 170 {0x96, 0x00},
hazheng 32:5badeff825dc 171 {0x97, 0x08},
hazheng 32:5badeff825dc 172 {0x97, 0x19},
hazheng 32:5badeff825dc 173 {0x97, 0x02},
hazheng 32:5badeff825dc 174 {0x97, 0x0c},
hazheng 32:5badeff825dc 175 {0x97, 0x24},
hazheng 32:5badeff825dc 176 {0x97, 0x30},
hazheng 32:5badeff825dc 177 {0x97, 0x28},
hazheng 32:5badeff825dc 178 {0x97, 0x26},
hazheng 32:5badeff825dc 179 {0x97, 0x02},
hazheng 32:5badeff825dc 180 {0x97, 0x98},
hazheng 32:5badeff825dc 181 {0x97, 0x80},
hazheng 32:5badeff825dc 182 {0x97, 0x00},
hazheng 32:5badeff825dc 183 {0x97, 0x00},
hazheng 32:5badeff825dc 184 //
hazheng 32:5badeff825dc 185 {0xc3, 0xed},
hazheng 32:5badeff825dc 186 {0xa4, 0x00},
hazheng 32:5badeff825dc 187 {0xa8, 0x00},
hazheng 32:5badeff825dc 188 {0xc5, 0x11},
hazheng 32:5badeff825dc 189
hazheng 32:5badeff825dc 190 {0xc6, 0x51},
hazheng 32:5badeff825dc 191 {0xbf, 0x80},
hazheng 32:5badeff825dc 192 {0xc7, 0x10},
hazheng 32:5badeff825dc 193 {0xb6, 0x66},
hazheng 32:5badeff825dc 194 {0xb8, 0xA5},
hazheng 32:5badeff825dc 195 {0xb7, 0x64},
hazheng 32:5badeff825dc 196 {0xb9, 0x7C},
hazheng 32:5badeff825dc 197 {0xb3, 0xaf},
hazheng 32:5badeff825dc 198 {0xb4, 0x97},
hazheng 32:5badeff825dc 199 {0xb5, 0xFF},
hazheng 32:5badeff825dc 200 {0xb0, 0xC5},
hazheng 32:5badeff825dc 201 {0xb1, 0x94},
hazheng 32:5badeff825dc 202 {0xb2, 0x0f},
hazheng 32:5badeff825dc 203 {0xc4, 0x5c},
hazheng 32:5badeff825dc 204 //
hazheng 32:5badeff825dc 205 {0xc0, 0x64},
hazheng 32:5badeff825dc 206 {0xc1, 0x4B},
hazheng 32:5badeff825dc 207 {0x8c, 0x00},
hazheng 32:5badeff825dc 208 {0x86, 0x3D},
hazheng 32:5badeff825dc 209 {0x50, 0x00},
hazheng 32:5badeff825dc 210 {0x51, 0xC8},
hazheng 32:5badeff825dc 211 {0x52, 0x96},
hazheng 32:5badeff825dc 212 {0x53, 0x00},
hazheng 32:5badeff825dc 213 {0x54, 0x00},
hazheng 32:5badeff825dc 214 {0x55, 0x00},
hazheng 32:5badeff825dc 215 {0x5a, 0xC8},
hazheng 32:5badeff825dc 216 {0x5b, 0x96},
hazheng 32:5badeff825dc 217 {0x5c, 0x00},
hazheng 32:5badeff825dc 218 {0xd3, 0x82},
hazheng 32:5badeff825dc 219 //
hazheng 32:5badeff825dc 220 {0xc3, 0xed},
hazheng 32:5badeff825dc 221 {0x7f, 0x00},
hazheng 32:5badeff825dc 222 //
hazheng 32:5badeff825dc 223 {0xda, 0x08},
hazheng 32:5badeff825dc 224 //
hazheng 32:5badeff825dc 225 {0xe5, 0x1f},
hazheng 32:5badeff825dc 226 {0xe1, 0x67},
hazheng 32:5badeff825dc 227 {0xe0, 0x00},
hazheng 32:5badeff825dc 228 {0xdd, 0x7f},
hazheng 32:5badeff825dc 229 {0x05, 0x00},
hazheng 30:ff7f83ad6369 230
hazheng 32:5badeff825dc 231 {0xff, 0xff}
hazheng 32:5badeff825dc 232 };
hazheng 33:e3fcc4d6bb9b 233 #endif // 800 X 600
hazheng 32:5badeff825dc 234
hazheng 34:f79db3bc2f86 235 //#if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 320) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 240)
hazheng 34:f79db3bc2f86 236 const struct sensor_reg QVGA[] =
hazheng 34:f79db3bc2f86 237 {
hazheng 34:f79db3bc2f86 238 {0xff, 0x0},
hazheng 34:f79db3bc2f86 239 {0x2c, 0xff},
hazheng 34:f79db3bc2f86 240 {0x2e, 0xdf},
hazheng 34:f79db3bc2f86 241 {0xff, 0x01},
hazheng 34:f79db3bc2f86 242 {0x3c, 0x32},
hazheng 34:f79db3bc2f86 243 {0x11, 0x00},
hazheng 34:f79db3bc2f86 244 {0x09, 0x02},
hazheng 44:15de535c4005 245 {0x04, 0x68}, /////////// //Horizontal Mirror
hazheng 34:f79db3bc2f86 246 {0x13, 0xe5},
hazheng 34:f79db3bc2f86 247 {0x14, 0x48},
hazheng 34:f79db3bc2f86 248 {0x2c, 0x0c},
hazheng 34:f79db3bc2f86 249 {0x33, 0x78},
hazheng 34:f79db3bc2f86 250 {0x3a, 0x33},
hazheng 34:f79db3bc2f86 251 {0x3b, 0xfb},
hazheng 34:f79db3bc2f86 252 {0x3e, 0x00},
hazheng 34:f79db3bc2f86 253 {0x43, 0x11},
hazheng 34:f79db3bc2f86 254 {0x16, 0x10},
hazheng 34:f79db3bc2f86 255 {0x39, 0x02},
hazheng 34:f79db3bc2f86 256 {0x35, 0x88},
hazheng 34:f79db3bc2f86 257
hazheng 34:f79db3bc2f86 258 {0x22, 0x0a},
hazheng 34:f79db3bc2f86 259 {0x37, 0x40},
hazheng 34:f79db3bc2f86 260 {0x23, 0x00},
hazheng 34:f79db3bc2f86 261 {0x34, 0xa0},
hazheng 34:f79db3bc2f86 262 {0x06, 0x02},
hazheng 34:f79db3bc2f86 263 {0x06, 0x88},
hazheng 34:f79db3bc2f86 264 {0x07, 0xc0},
hazheng 34:f79db3bc2f86 265 {0x0d, 0xb7},
hazheng 34:f79db3bc2f86 266 {0x0e, 0x01},
hazheng 34:f79db3bc2f86 267 {0x4c, 0x00},
hazheng 34:f79db3bc2f86 268 {0x4a, 0x81},
hazheng 34:f79db3bc2f86 269 {0x21, 0x99},
hazheng 34:f79db3bc2f86 270 {0x24, 0x40},
hazheng 34:f79db3bc2f86 271 {0x25, 0x38},
hazheng 34:f79db3bc2f86 272 {0x26, 0x82},
hazheng 34:f79db3bc2f86 273 {0x5c, 0x00},
hazheng 34:f79db3bc2f86 274 {0x63, 0x00},
hazheng 34:f79db3bc2f86 275 {0x46, 0x22},
hazheng 34:f79db3bc2f86 276 {0x0c, 0x3a},
hazheng 34:f79db3bc2f86 277 {0x5d, 0x55},
hazheng 34:f79db3bc2f86 278 {0x5e, 0x7d},
hazheng 34:f79db3bc2f86 279 {0x5f, 0x7d},
hazheng 34:f79db3bc2f86 280 {0x60, 0x55},
hazheng 34:f79db3bc2f86 281 {0x61, 0x70},
hazheng 34:f79db3bc2f86 282 {0x62, 0x80},
hazheng 34:f79db3bc2f86 283 {0x7c, 0x05},
hazheng 34:f79db3bc2f86 284 {0x20, 0x80},
hazheng 34:f79db3bc2f86 285 {0x28, 0x30},
hazheng 34:f79db3bc2f86 286 {0x6c, 0x00},
hazheng 34:f79db3bc2f86 287 {0x6d, 0x80},
hazheng 34:f79db3bc2f86 288 {0x6e, 0x00},
hazheng 34:f79db3bc2f86 289 {0x70, 0x02},
hazheng 34:f79db3bc2f86 290 {0x71, 0x94},
hazheng 34:f79db3bc2f86 291 {0x73, 0xc1},
hazheng 34:f79db3bc2f86 292 {0x3d, 0x34},
hazheng 34:f79db3bc2f86 293 {0x12, 0x04},
hazheng 34:f79db3bc2f86 294 {0x5a, 0x57},
hazheng 34:f79db3bc2f86 295 {0x4f, 0xbb},
hazheng 34:f79db3bc2f86 296 {0x50, 0x9c},
hazheng 34:f79db3bc2f86 297 {0xff, 0x00},
hazheng 34:f79db3bc2f86 298 {0xe5, 0x7f},
hazheng 34:f79db3bc2f86 299 {0xf9, 0xc0},
hazheng 34:f79db3bc2f86 300 {0x41, 0x24},
hazheng 34:f79db3bc2f86 301 {0xe0, 0x14},
hazheng 34:f79db3bc2f86 302 {0x76, 0xff},
hazheng 34:f79db3bc2f86 303 {0x33, 0xa0},
hazheng 34:f79db3bc2f86 304 {0x42, 0x20},
hazheng 34:f79db3bc2f86 305 {0x43, 0x18},
hazheng 34:f79db3bc2f86 306 {0x4c, 0x00},
hazheng 34:f79db3bc2f86 307 {0x87, 0xd0},
hazheng 34:f79db3bc2f86 308 {0x88, 0x3f},
hazheng 34:f79db3bc2f86 309 {0xd7, 0x03},
hazheng 34:f79db3bc2f86 310 {0xd9, 0x10},
hazheng 34:f79db3bc2f86 311 {0xd3, 0x82},
hazheng 34:f79db3bc2f86 312 {0xc8, 0x08},
hazheng 34:f79db3bc2f86 313 {0xc9, 0x80},
hazheng 34:f79db3bc2f86 314 {0x7c, 0x00},
hazheng 34:f79db3bc2f86 315 {0x7d, 0x00},
hazheng 34:f79db3bc2f86 316 {0x7c, 0x03},
hazheng 34:f79db3bc2f86 317 {0x7d, 0x48},
hazheng 34:f79db3bc2f86 318 {0x7d, 0x48},
hazheng 34:f79db3bc2f86 319 {0x7c, 0x08},
hazheng 34:f79db3bc2f86 320 {0x7d, 0x00}, //Gamma Correction?
hazheng 34:f79db3bc2f86 321 {0x7d, 0x10},
hazheng 34:f79db3bc2f86 322 {0x7d, 0x0e},
hazheng 34:f79db3bc2f86 323 {0x90, 0x00},
hazheng 34:f79db3bc2f86 324 {0x91, 0x0e},
hazheng 34:f79db3bc2f86 325 {0x91, 0x1a},
hazheng 34:f79db3bc2f86 326 {0x91, 0x31},
hazheng 34:f79db3bc2f86 327 {0x91, 0x5a},
hazheng 34:f79db3bc2f86 328 {0x91, 0x69},
hazheng 34:f79db3bc2f86 329 {0x91, 0x75},
hazheng 34:f79db3bc2f86 330 {0x91, 0x7e},
hazheng 34:f79db3bc2f86 331 {0x91, 0x88},
hazheng 34:f79db3bc2f86 332 {0x91, 0x8f},
hazheng 34:f79db3bc2f86 333 {0x91, 0x96},
hazheng 34:f79db3bc2f86 334 {0x91, 0xa3},
hazheng 34:f79db3bc2f86 335 {0x91, 0xaf},
hazheng 34:f79db3bc2f86 336 {0x91, 0xc4},
hazheng 34:f79db3bc2f86 337 {0x91, 0xd7},
hazheng 34:f79db3bc2f86 338 {0x91, 0xe8},
hazheng 34:f79db3bc2f86 339 {0x91, 0x20},
hazheng 34:f79db3bc2f86 340 {0x92, 0x00},
hazheng 34:f79db3bc2f86 341
hazheng 34:f79db3bc2f86 342 {0x93, 0x06},
hazheng 34:f79db3bc2f86 343 {0x93, 0xe3},
hazheng 34:f79db3bc2f86 344 {0x93, 0x03},
hazheng 34:f79db3bc2f86 345 {0x93, 0x03},
hazheng 34:f79db3bc2f86 346 {0x93, 0x00},
hazheng 34:f79db3bc2f86 347 {0x93, 0x02},
hazheng 34:f79db3bc2f86 348 {0x93, 0x00},
hazheng 34:f79db3bc2f86 349 {0x93, 0x00},
hazheng 34:f79db3bc2f86 350 {0x93, 0x00},
hazheng 34:f79db3bc2f86 351 {0x93, 0x00},
hazheng 34:f79db3bc2f86 352 {0x93, 0x00},
hazheng 34:f79db3bc2f86 353 {0x93, 0x00},
hazheng 34:f79db3bc2f86 354 {0x93, 0x00},
hazheng 34:f79db3bc2f86 355 {0x96, 0x00},
hazheng 34:f79db3bc2f86 356 {0x97, 0x08},
hazheng 34:f79db3bc2f86 357 {0x97, 0x19},
hazheng 34:f79db3bc2f86 358 {0x97, 0x02},
hazheng 34:f79db3bc2f86 359 {0x97, 0x0c},
hazheng 34:f79db3bc2f86 360 {0x97, 0x24},
hazheng 34:f79db3bc2f86 361 {0x97, 0x30},
hazheng 34:f79db3bc2f86 362 {0x97, 0x28},
hazheng 34:f79db3bc2f86 363 {0x97, 0x26},
hazheng 34:f79db3bc2f86 364 {0x97, 0x02},
hazheng 34:f79db3bc2f86 365 {0x97, 0x98},
hazheng 34:f79db3bc2f86 366 {0x97, 0x80},
hazheng 34:f79db3bc2f86 367 {0x97, 0x00},
hazheng 34:f79db3bc2f86 368 {0x97, 0x00},
hazheng 34:f79db3bc2f86 369 {0xa4, 0x00},
hazheng 34:f79db3bc2f86 370 {0xa8, 0x00},
hazheng 34:f79db3bc2f86 371 {0xc5, 0x11},
hazheng 34:f79db3bc2f86 372 {0xc6, 0x51},
hazheng 34:f79db3bc2f86 373 {0xbf, 0x80},
hazheng 34:f79db3bc2f86 374 {0xc7, 0x10},
hazheng 34:f79db3bc2f86 375 {0xb6, 0x66},
hazheng 34:f79db3bc2f86 376 {0xb8, 0xa5},
hazheng 34:f79db3bc2f86 377 {0xb7, 0x64},
hazheng 34:f79db3bc2f86 378 {0xb9, 0x7c},
hazheng 34:f79db3bc2f86 379 {0xb3, 0xaf},
hazheng 34:f79db3bc2f86 380 {0xb4, 0x97},
hazheng 34:f79db3bc2f86 381 {0xb5, 0xff},
hazheng 34:f79db3bc2f86 382 {0xb0, 0xc5},
hazheng 34:f79db3bc2f86 383 {0xb1, 0x94},
hazheng 34:f79db3bc2f86 384 {0xb2, 0x0f},
hazheng 34:f79db3bc2f86 385 {0xc4, 0x5c},
hazheng 34:f79db3bc2f86 386 {0xa6, 0x00},
hazheng 34:f79db3bc2f86 387 {0xa7, 0x20},
hazheng 34:f79db3bc2f86 388 {0xa7, 0xd8},
hazheng 34:f79db3bc2f86 389 {0xa7, 0x1b},
hazheng 34:f79db3bc2f86 390 {0xa7, 0x31},
hazheng 34:f79db3bc2f86 391 {0xa7, 0x00},
hazheng 34:f79db3bc2f86 392 {0xa7, 0x18},
hazheng 34:f79db3bc2f86 393 {0xa7, 0x20},
hazheng 34:f79db3bc2f86 394 {0xa7, 0xd8},
hazheng 34:f79db3bc2f86 395 {0xa7, 0x19},
hazheng 34:f79db3bc2f86 396 {0xa7, 0x31},
hazheng 34:f79db3bc2f86 397 {0xa7, 0x00},
hazheng 34:f79db3bc2f86 398 {0xa7, 0x18},
hazheng 34:f79db3bc2f86 399 {0xa7, 0x20},
hazheng 34:f79db3bc2f86 400 {0xa7, 0xd8},
hazheng 34:f79db3bc2f86 401 {0xa7, 0x19},
hazheng 34:f79db3bc2f86 402 {0xa7, 0x31},
hazheng 34:f79db3bc2f86 403 {0xa7, 0x00},
hazheng 34:f79db3bc2f86 404 {0xa7, 0x18},
hazheng 34:f79db3bc2f86 405 {0x7f, 0x00},
hazheng 34:f79db3bc2f86 406 {0xe5, 0x1f},
hazheng 34:f79db3bc2f86 407 {0xe1, 0x77},
hazheng 34:f79db3bc2f86 408 {0xdd, 0x7f},
hazheng 34:f79db3bc2f86 409 {0xc2, 0x0e},
hazheng 34:f79db3bc2f86 410
hazheng 34:f79db3bc2f86 411 {0xff, 0x00},
hazheng 34:f79db3bc2f86 412 {0xe0, 0x04},
hazheng 34:f79db3bc2f86 413 {0xc0, 0xc8},
hazheng 34:f79db3bc2f86 414 {0xc1, 0x96},
hazheng 34:f79db3bc2f86 415 {0x86, 0x3d},
hazheng 34:f79db3bc2f86 416 {0x51, 0x90},
hazheng 34:f79db3bc2f86 417 {0x52, 0x2c},
hazheng 34:f79db3bc2f86 418 {0x53, 0x00},
hazheng 34:f79db3bc2f86 419 {0x54, 0x00},
hazheng 34:f79db3bc2f86 420 {0x55, 0x88},
hazheng 34:f79db3bc2f86 421 {0x57, 0x00},
hazheng 34:f79db3bc2f86 422
hazheng 34:f79db3bc2f86 423 {0x50, 0x92},
hazheng 33:e3fcc4d6bb9b 424 #if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 320) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 240)
hazheng 34:f79db3bc2f86 425 {0x5a, 0x50}, //Zoom
hazheng 34:f79db3bc2f86 426 {0x5b, 0x3C}, //Zoom
hazheng 34:f79db3bc2f86 427 {0x5c, 0x00}, //Zoom
hazheng 36:7e747e19f660 428 #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 160) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 120)
hazheng 34:f79db3bc2f86 429 {0x5a, 0x28}, //Zoom
hazheng 34:f79db3bc2f86 430 {0x5b, 0x1E}, //Zoom
hazheng 34:f79db3bc2f86 431 {0x5c, 0x00}, //Zoom
hazheng 44:15de535c4005 432 #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 80) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 60)
hazheng 44:15de535c4005 433 {0x5a, 0x14}, //Zoom
hazheng 44:15de535c4005 434 {0x5b, 0x0F}, //Zoom
hazheng 44:15de535c4005 435 {0x5c, 0x00}, //Zoom
hazheng 36:7e747e19f660 436
hazheng 36:7e747e19f660 437 #else
hazheng 36:7e747e19f660 438 #error Must pick one valid resolution!!
hazheng 34:f79db3bc2f86 439 #endif
hazheng 34:f79db3bc2f86 440
hazheng 34:f79db3bc2f86 441 {0xd3, 0x04},
hazheng 34:f79db3bc2f86 442 {0xe0, 0x00},
hazheng 34:f79db3bc2f86 443
hazheng 34:f79db3bc2f86 444 {0xff, 0x00},
hazheng 34:f79db3bc2f86 445 {0x05, 0x00},
hazheng 34:f79db3bc2f86 446
hazheng 34:f79db3bc2f86 447 {0xda, 0x08},
hazheng 34:f79db3bc2f86 448 {0xd7, 0x03},
hazheng 34:f79db3bc2f86 449 {0xe0, 0x00},
hazheng 34:f79db3bc2f86 450
hazheng 34:f79db3bc2f86 451 {0x05, 0x00},
hazheng 34:f79db3bc2f86 452
hazheng 34:f79db3bc2f86 453
hazheng 34:f79db3bc2f86 454 {0xff, 0xff},
hazheng 34:f79db3bc2f86 455 };
hazheng 34:f79db3bc2f86 456 //#endif //320 X 240
hazheng 34:f79db3bc2f86 457
hazheng 34:f79db3bc2f86 458 #if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 160) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 120)
hazheng 34:f79db3bc2f86 459 const struct sensor_reg QQVGA[]=
hazheng 30:ff7f83ad6369 460 {
hazheng 33:e3fcc4d6bb9b 461 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 462 {0x2c, 0xff},
hazheng 30:ff7f83ad6369 463 {0x2e, 0xdf},
hazheng 33:e3fcc4d6bb9b 464 /*1*/{0xff, 0x1},
hazheng 32:5badeff825dc 465 {0x3c, 0x32},
hazheng 32:5badeff825dc 466
hazheng 30:ff7f83ad6369 467 {0x11, 0x0},
hazheng 30:ff7f83ad6369 468 {0x9, 0x2},
hazheng 33:e3fcc4d6bb9b 469 {0x04, 0x28}, /////////// //Horizontal Mirror
hazheng 30:ff7f83ad6369 470 {0x13, 0xe5},
hazheng 30:ff7f83ad6369 471 {0x14, 0x48},
hazheng 30:ff7f83ad6369 472 {0x2c, 0xc},
hazheng 30:ff7f83ad6369 473 {0x33, 0x78},
hazheng 30:ff7f83ad6369 474 {0x3a, 0x33},
hazheng 30:ff7f83ad6369 475 {0x3b, 0xfb},
hazheng 32:5badeff825dc 476
hazheng 30:ff7f83ad6369 477 {0x3e, 0x0},
hazheng 30:ff7f83ad6369 478 {0x43, 0x11},
hazheng 30:ff7f83ad6369 479 {0x16, 0x10},
hazheng 32:5badeff825dc 480
hazheng 32:5badeff825dc 481 {0x39, 0x2}, ///////////
hazheng 32:5badeff825dc 482
hazheng 32:5badeff825dc 483 {0x35, 0x88}, ///////////////
hazheng 32:5badeff825dc 484 {0x22, 0xa}, /////////////
hazheng 32:5badeff825dc 485 {0x37, 0x40}, ///////////
hazheng 30:ff7f83ad6369 486 {0x23, 0x0},
hazheng 32:5badeff825dc 487 {0x34, 0xa0},///////////////////
hazheng 32:5badeff825dc 488 {0x6, 0x2}, //++++++++++++++
hazheng 30:ff7f83ad6369 489 {0x6, 0x88},
hazheng 30:ff7f83ad6369 490 {0x7, 0xc0},
hazheng 32:5badeff825dc 491 {0xd, 0xb7}, ////////
hazheng 32:5badeff825dc 492 {0xe, 0x1}, /////////
hazheng 30:ff7f83ad6369 493 {0x4c, 0x0},
hazheng 32:5badeff825dc 494
hazheng 32:5badeff825dc 495 {0x4a, 0x81}, //++++++++++++++
hazheng 32:5badeff825dc 496
hazheng 30:ff7f83ad6369 497 {0x21, 0x99},
hazheng 30:ff7f83ad6369 498 {0x24, 0x40},
hazheng 30:ff7f83ad6369 499 {0x25, 0x38},
hazheng 30:ff7f83ad6369 500 {0x26, 0x82},
hazheng 30:ff7f83ad6369 501 {0x5c, 0x0},
hazheng 30:ff7f83ad6369 502 {0x63, 0x0},
hazheng 30:ff7f83ad6369 503 {0x46, 0x22},
hazheng 32:5badeff825dc 504 {0xc, 0x3a}, ///////////
hazheng 32:5badeff825dc 505
hazheng 32:5badeff825dc 506
hazheng 32:5badeff825dc 507 {0x5d, 0x55},//////
hazheng 32:5badeff825dc 508 {0x5e, 0x7d}, //////////
hazheng 32:5badeff825dc 509 {0x5f, 0x7d}, //////////
hazheng 32:5badeff825dc 510 {0x60, 0x55}, ///////
hazheng 32:5badeff825dc 511
hazheng 30:ff7f83ad6369 512 {0x61, 0x70},
hazheng 30:ff7f83ad6369 513 {0x62, 0x80},
hazheng 30:ff7f83ad6369 514 {0x7c, 0x5},
hazheng 32:5badeff825dc 515
hazheng 30:ff7f83ad6369 516 {0x20, 0x80},
hazheng 30:ff7f83ad6369 517 {0x28, 0x30},
hazheng 30:ff7f83ad6369 518 {0x6c, 0x0},
hazheng 30:ff7f83ad6369 519 {0x6d, 0x80},
hazheng 30:ff7f83ad6369 520 {0x6e, 0x0},
hazheng 30:ff7f83ad6369 521 {0x70, 0x2},
hazheng 30:ff7f83ad6369 522 {0x71, 0x94},
hazheng 30:ff7f83ad6369 523 {0x73, 0xc1},
hazheng 32:5badeff825dc 524
hazheng 30:ff7f83ad6369 525 {0x3d, 0x34},
hazheng 32:5badeff825dc 526
hazheng 32:5badeff825dc 527 {0x12, 0x4}, ////////////
hazheng 30:ff7f83ad6369 528 {0x5a, 0x57},
hazheng 32:5badeff825dc 529
hazheng 30:ff7f83ad6369 530 {0x4f, 0xbb},
hazheng 30:ff7f83ad6369 531 {0x50, 0x9c},
hazheng 32:5badeff825dc 532
hazheng 32:5badeff825dc 533
hazheng 33:e3fcc4d6bb9b 534 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 535 {0xe5, 0x7f},
hazheng 30:ff7f83ad6369 536 {0xf9, 0xc0},
hazheng 30:ff7f83ad6369 537 {0x41, 0x24},
hazheng 30:ff7f83ad6369 538 {0xe0, 0x14},
hazheng 30:ff7f83ad6369 539 {0x76, 0xff},
hazheng 30:ff7f83ad6369 540 {0x33, 0xa0},
hazheng 30:ff7f83ad6369 541 {0x42, 0x20},
hazheng 30:ff7f83ad6369 542 {0x43, 0x18},
hazheng 30:ff7f83ad6369 543 {0x4c, 0x0},
hazheng 32:5badeff825dc 544 {0x87, 0xd0}, ///////
hazheng 30:ff7f83ad6369 545 {0x88, 0x3f},
hazheng 30:ff7f83ad6369 546 {0xd7, 0x3},
hazheng 30:ff7f83ad6369 547 {0xd9, 0x10},
hazheng 30:ff7f83ad6369 548 {0xd3, 0x82},
hazheng 32:5badeff825dc 549
hazheng 30:ff7f83ad6369 550 {0xc8, 0x8},
hazheng 30:ff7f83ad6369 551 {0xc9, 0x80},
hazheng 32:5badeff825dc 552
hazheng 30:ff7f83ad6369 553 {0x7c, 0x0},
hazheng 30:ff7f83ad6369 554 {0x7d, 0x0},
hazheng 30:ff7f83ad6369 555 {0x7c, 0x3},
hazheng 30:ff7f83ad6369 556 {0x7d, 0x48},
hazheng 30:ff7f83ad6369 557 {0x7d, 0x48},
hazheng 33:e3fcc4d6bb9b 558 {0x7c, 0x08},
hazheng 33:e3fcc4d6bb9b 559 {0x7d, 0x00}, //Gamma Correction?
hazheng 30:ff7f83ad6369 560 {0x7d, 0x10},
hazheng 33:e3fcc4d6bb9b 561 {0x7d, 0x0e},
hazheng 30:ff7f83ad6369 562 {0x90, 0x0},
hazheng 30:ff7f83ad6369 563 {0x91, 0xe},
hazheng 30:ff7f83ad6369 564 {0x91, 0x1a},
hazheng 30:ff7f83ad6369 565 {0x91, 0x31},
hazheng 30:ff7f83ad6369 566 {0x91, 0x5a},
hazheng 30:ff7f83ad6369 567 {0x91, 0x69},
hazheng 30:ff7f83ad6369 568 {0x91, 0x75},
hazheng 30:ff7f83ad6369 569 {0x91, 0x7e},
hazheng 30:ff7f83ad6369 570 {0x91, 0x88},
hazheng 30:ff7f83ad6369 571 {0x91, 0x8f},
hazheng 30:ff7f83ad6369 572 {0x91, 0x96},
hazheng 30:ff7f83ad6369 573 {0x91, 0xa3},
hazheng 30:ff7f83ad6369 574 {0x91, 0xaf},
hazheng 30:ff7f83ad6369 575 {0x91, 0xc4},
hazheng 30:ff7f83ad6369 576 {0x91, 0xd7},
hazheng 30:ff7f83ad6369 577 {0x91, 0xe8},
hazheng 30:ff7f83ad6369 578 {0x91, 0x20},
hazheng 32:5badeff825dc 579
hazheng 30:ff7f83ad6369 580 {0x92, 0x0},
hazheng 30:ff7f83ad6369 581 {0x93, 0x6},
hazheng 30:ff7f83ad6369 582 {0x93, 0xe3},
hazheng 32:5badeff825dc 583 {0x93, 0x3}, ////////
hazheng 32:5badeff825dc 584 {0x93, 0x3}, /////////
hazheng 30:ff7f83ad6369 585 {0x93, 0x0},
hazheng 32:5badeff825dc 586 {0x93, 0x2}, ///////
hazheng 30:ff7f83ad6369 587 {0x93, 0x0},
hazheng 30:ff7f83ad6369 588 {0x93, 0x0},
hazheng 30:ff7f83ad6369 589 {0x93, 0x0},
hazheng 30:ff7f83ad6369 590 {0x93, 0x0},
hazheng 30:ff7f83ad6369 591 {0x93, 0x0},
hazheng 30:ff7f83ad6369 592 {0x93, 0x0},
hazheng 30:ff7f83ad6369 593 {0x93, 0x0},
hazheng 32:5badeff825dc 594
hazheng 30:ff7f83ad6369 595 {0x96, 0x0},
hazheng 30:ff7f83ad6369 596 {0x97, 0x8},
hazheng 30:ff7f83ad6369 597 {0x97, 0x19},
hazheng 30:ff7f83ad6369 598 {0x97, 0x2},
hazheng 30:ff7f83ad6369 599 {0x97, 0xc},
hazheng 30:ff7f83ad6369 600 {0x97, 0x24},
hazheng 30:ff7f83ad6369 601 {0x97, 0x30},
hazheng 30:ff7f83ad6369 602 {0x97, 0x28},
hazheng 30:ff7f83ad6369 603 {0x97, 0x26},
hazheng 30:ff7f83ad6369 604 {0x97, 0x2},
hazheng 30:ff7f83ad6369 605 {0x97, 0x98},
hazheng 30:ff7f83ad6369 606 {0x97, 0x80},
hazheng 30:ff7f83ad6369 607 {0x97, 0x0},
hazheng 30:ff7f83ad6369 608 {0x97, 0x0},
hazheng 32:5badeff825dc 609
hazheng 32:5badeff825dc 610 //////
hazheng 30:ff7f83ad6369 611 {0xa4, 0x0},
hazheng 30:ff7f83ad6369 612 {0xa8, 0x0},
hazheng 30:ff7f83ad6369 613 {0xc5, 0x11},
hazheng 30:ff7f83ad6369 614 {0xc6, 0x51},
hazheng 30:ff7f83ad6369 615 {0xbf, 0x80},
hazheng 30:ff7f83ad6369 616 {0xc7, 0x10},
hazheng 30:ff7f83ad6369 617 {0xb6, 0x66},
hazheng 30:ff7f83ad6369 618 {0xb8, 0xa5},
hazheng 30:ff7f83ad6369 619 {0xb7, 0x64},
hazheng 30:ff7f83ad6369 620 {0xb9, 0x7c},
hazheng 30:ff7f83ad6369 621 {0xb3, 0xaf},
hazheng 30:ff7f83ad6369 622 {0xb4, 0x97},
hazheng 30:ff7f83ad6369 623 {0xb5, 0xff},
hazheng 30:ff7f83ad6369 624 {0xb0, 0xc5},
hazheng 30:ff7f83ad6369 625 {0xb1, 0x94},
hazheng 30:ff7f83ad6369 626 {0xb2, 0xf},
hazheng 30:ff7f83ad6369 627 {0xc4, 0x5c},
hazheng 32:5badeff825dc 628
hazheng 30:ff7f83ad6369 629 {0xa6, 0x0},
hazheng 30:ff7f83ad6369 630 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 631 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 632 {0xa7, 0x1b},
hazheng 30:ff7f83ad6369 633 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 634 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 635 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 636 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 637 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 638 {0xa7, 0x19},
hazheng 30:ff7f83ad6369 639 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 640 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 641 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 642 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 643 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 644 {0xa7, 0x19},
hazheng 30:ff7f83ad6369 645 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 646 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 647 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 648 {0x7f, 0x0},
hazheng 30:ff7f83ad6369 649 {0xe5, 0x1f},
hazheng 30:ff7f83ad6369 650 {0xe1, 0x77},
hazheng 30:ff7f83ad6369 651 {0xdd, 0x7f},
hazheng 30:ff7f83ad6369 652 {0xc2, 0xe},
hazheng 30:ff7f83ad6369 653
hazheng 33:e3fcc4d6bb9b 654 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 655 {0xe0, 0x4},
hazheng 30:ff7f83ad6369 656 {0xc0, 0xc8},
hazheng 30:ff7f83ad6369 657 {0xc1, 0x96},
hazheng 30:ff7f83ad6369 658 {0x86, 0x3d},
hazheng 30:ff7f83ad6369 659 {0x51, 0x90},
hazheng 30:ff7f83ad6369 660 {0x52, 0x2c},
hazheng 30:ff7f83ad6369 661 {0x53, 0x0},
hazheng 30:ff7f83ad6369 662 {0x54, 0x0},
hazheng 30:ff7f83ad6369 663 {0x55, 0x88},
hazheng 30:ff7f83ad6369 664 {0x57, 0x0},
hazheng 30:ff7f83ad6369 665
hazheng 30:ff7f83ad6369 666 {0x50, 0x92},
hazheng 34:f79db3bc2f86 667 {0x5a, 0x28},
hazheng 34:f79db3bc2f86 668 {0x5b, 0x1E},
hazheng 30:ff7f83ad6369 669 {0x5c, 0x0},
hazheng 30:ff7f83ad6369 670 {0xd3, 0x4},
hazheng 30:ff7f83ad6369 671 {0xe0, 0x0},
hazheng 30:ff7f83ad6369 672
hazheng 33:e3fcc4d6bb9b 673 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 674 {0x5, 0x0},
hazheng 30:ff7f83ad6369 675
hazheng 30:ff7f83ad6369 676 {0xda, 0x8},
hazheng 30:ff7f83ad6369 677 {0xd7, 0x3},
hazheng 30:ff7f83ad6369 678 {0xe0, 0x0},
hazheng 30:ff7f83ad6369 679
hazheng 30:ff7f83ad6369 680 {0x5, 0x0},
hazheng 30:ff7f83ad6369 681
hazheng 30:ff7f83ad6369 682
hazheng 30:ff7f83ad6369 683 {0xff,0xff},
hazheng 33:e3fcc4d6bb9b 684 };
hazheng 33:e3fcc4d6bb9b 685 #endif //160 * 120
hazheng 33:e3fcc4d6bb9b 686
hazheng 33:e3fcc4d6bb9b 687 #ifdef CAMERA_JPEG_FORMAT
hazheng 32:5badeff825dc 688 const struct sensor_reg JPEG_INIT[] =
hazheng 30:ff7f83ad6369 689 {
hazheng 30:ff7f83ad6369 690 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 691 { 0x2c, 0xff },
hazheng 30:ff7f83ad6369 692 { 0x2e, 0xdf },
hazheng 30:ff7f83ad6369 693 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 694 { 0x3c, 0x32 },
hazheng 30:ff7f83ad6369 695 { 0x11, 0x00 },
hazheng 30:ff7f83ad6369 696 { 0x09, 0x02 },
hazheng 30:ff7f83ad6369 697 { 0x04, 0x28 },
hazheng 30:ff7f83ad6369 698 { 0x13, 0xe5 },
hazheng 30:ff7f83ad6369 699 { 0x14, 0x48 },
hazheng 30:ff7f83ad6369 700 { 0x2c, 0x0c },
hazheng 30:ff7f83ad6369 701 { 0x33, 0x78 },
hazheng 30:ff7f83ad6369 702 { 0x3a, 0x33 },
hazheng 30:ff7f83ad6369 703 { 0x3b, 0xfB },
hazheng 30:ff7f83ad6369 704 { 0x3e, 0x00 },
hazheng 30:ff7f83ad6369 705 { 0x43, 0x11 },
hazheng 30:ff7f83ad6369 706 { 0x16, 0x10 },
hazheng 30:ff7f83ad6369 707 { 0x39, 0x92 },
hazheng 30:ff7f83ad6369 708 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 709 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 710 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 711 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 712 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 713 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 714 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 715 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 716 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 717 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 718 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 719 { 0x48, 0x00 },
hazheng 30:ff7f83ad6369 720 { 0x5B, 0x00 },
hazheng 30:ff7f83ad6369 721 { 0x42, 0x03 },
hazheng 30:ff7f83ad6369 722 { 0x4a, 0x81 },
hazheng 30:ff7f83ad6369 723 { 0x21, 0x99 },
hazheng 30:ff7f83ad6369 724 { 0x24, 0x40 },
hazheng 30:ff7f83ad6369 725 { 0x25, 0x38 },
hazheng 30:ff7f83ad6369 726 { 0x26, 0x82 },
hazheng 30:ff7f83ad6369 727 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 728 { 0x63, 0x00 },
hazheng 30:ff7f83ad6369 729 { 0x61, 0x70 },
hazheng 30:ff7f83ad6369 730 { 0x62, 0x80 },
hazheng 30:ff7f83ad6369 731 { 0x7c, 0x05 },
hazheng 30:ff7f83ad6369 732 { 0x20, 0x80 },
hazheng 30:ff7f83ad6369 733 { 0x28, 0x30 },
hazheng 30:ff7f83ad6369 734 { 0x6c, 0x00 },
hazheng 30:ff7f83ad6369 735 { 0x6d, 0x80 },
hazheng 30:ff7f83ad6369 736 { 0x6e, 0x00 },
hazheng 30:ff7f83ad6369 737 { 0x70, 0x02 },
hazheng 30:ff7f83ad6369 738 { 0x71, 0x94 },
hazheng 30:ff7f83ad6369 739 { 0x73, 0xc1 },
hazheng 30:ff7f83ad6369 740 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 741 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 742 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 743 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 744 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 745 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 746 { 0x37, 0xc0 },
hazheng 30:ff7f83ad6369 747 { 0x4f, 0x60 },
hazheng 30:ff7f83ad6369 748 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 749 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 750 { 0x3d, 0x38 },
hazheng 30:ff7f83ad6369 751 { 0x46, 0x3f },
hazheng 30:ff7f83ad6369 752 { 0x4f, 0x60 },
hazheng 30:ff7f83ad6369 753 { 0x0c, 0x3c },
hazheng 30:ff7f83ad6369 754 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 755 { 0xe5, 0x7f },
hazheng 30:ff7f83ad6369 756 { 0xf9, 0xc0 },
hazheng 30:ff7f83ad6369 757 { 0x41, 0x24 },
hazheng 30:ff7f83ad6369 758 { 0xe0, 0x14 },
hazheng 30:ff7f83ad6369 759 { 0x76, 0xff },
hazheng 30:ff7f83ad6369 760 { 0x33, 0xa0 },
hazheng 30:ff7f83ad6369 761 { 0x42, 0x20 },
hazheng 30:ff7f83ad6369 762 { 0x43, 0x18 },
hazheng 30:ff7f83ad6369 763 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 764 { 0x87, 0xd5 },
hazheng 30:ff7f83ad6369 765 { 0x88, 0x3f },
hazheng 30:ff7f83ad6369 766 { 0xd7, 0x03 },
hazheng 30:ff7f83ad6369 767 { 0xd9, 0x10 },
hazheng 30:ff7f83ad6369 768 { 0xd3, 0x82 },
hazheng 30:ff7f83ad6369 769 { 0xc8, 0x08 },
hazheng 30:ff7f83ad6369 770 { 0xc9, 0x80 },
hazheng 30:ff7f83ad6369 771 { 0x7c, 0x00 },
hazheng 30:ff7f83ad6369 772 { 0x7d, 0x00 },
hazheng 30:ff7f83ad6369 773 { 0x7c, 0x03 },
hazheng 30:ff7f83ad6369 774 { 0x7d, 0x48 },
hazheng 30:ff7f83ad6369 775 { 0x7d, 0x48 },
hazheng 30:ff7f83ad6369 776 { 0x7c, 0x08 },
hazheng 30:ff7f83ad6369 777 { 0x7d, 0x20 },
hazheng 30:ff7f83ad6369 778 { 0x7d, 0x10 },
hazheng 30:ff7f83ad6369 779 { 0x7d, 0x0e },
hazheng 30:ff7f83ad6369 780 { 0x90, 0x00 },
hazheng 30:ff7f83ad6369 781 { 0x91, 0x0e },
hazheng 30:ff7f83ad6369 782 { 0x91, 0x1a },
hazheng 30:ff7f83ad6369 783 { 0x91, 0x31 },
hazheng 30:ff7f83ad6369 784 { 0x91, 0x5a },
hazheng 30:ff7f83ad6369 785 { 0x91, 0x69 },
hazheng 30:ff7f83ad6369 786 { 0x91, 0x75 },
hazheng 30:ff7f83ad6369 787 { 0x91, 0x7e },
hazheng 30:ff7f83ad6369 788 { 0x91, 0x88 },
hazheng 30:ff7f83ad6369 789 { 0x91, 0x8f },
hazheng 30:ff7f83ad6369 790 { 0x91, 0x96 },
hazheng 30:ff7f83ad6369 791 { 0x91, 0xa3 },
hazheng 30:ff7f83ad6369 792 { 0x91, 0xaf },
hazheng 30:ff7f83ad6369 793 { 0x91, 0xc4 },
hazheng 30:ff7f83ad6369 794 { 0x91, 0xd7 },
hazheng 30:ff7f83ad6369 795 { 0x91, 0xe8 },
hazheng 30:ff7f83ad6369 796 { 0x91, 0x20 },
hazheng 30:ff7f83ad6369 797 { 0x92, 0x00 },
hazheng 30:ff7f83ad6369 798 { 0x93, 0x06 },
hazheng 30:ff7f83ad6369 799 { 0x93, 0xe3 },
hazheng 30:ff7f83ad6369 800 { 0x93, 0x05 },
hazheng 30:ff7f83ad6369 801 { 0x93, 0x05 },
hazheng 30:ff7f83ad6369 802 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 803 { 0x93, 0x04 },
hazheng 30:ff7f83ad6369 804 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 805 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 806 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 807 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 808 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 809 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 810 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 811 { 0x96, 0x00 },
hazheng 30:ff7f83ad6369 812 { 0x97, 0x08 },
hazheng 30:ff7f83ad6369 813 { 0x97, 0x19 },
hazheng 30:ff7f83ad6369 814 { 0x97, 0x02 },
hazheng 30:ff7f83ad6369 815 { 0x97, 0x0c },
hazheng 30:ff7f83ad6369 816 { 0x97, 0x24 },
hazheng 30:ff7f83ad6369 817 { 0x97, 0x30 },
hazheng 30:ff7f83ad6369 818 { 0x97, 0x28 },
hazheng 30:ff7f83ad6369 819 { 0x97, 0x26 },
hazheng 30:ff7f83ad6369 820 { 0x97, 0x02 },
hazheng 30:ff7f83ad6369 821 { 0x97, 0x98 },
hazheng 30:ff7f83ad6369 822 { 0x97, 0x80 },
hazheng 30:ff7f83ad6369 823 { 0x97, 0x00 },
hazheng 30:ff7f83ad6369 824 { 0x97, 0x00 },
hazheng 30:ff7f83ad6369 825 { 0xc3, 0xed },
hazheng 30:ff7f83ad6369 826 { 0xa4, 0x00 },
hazheng 30:ff7f83ad6369 827 { 0xa8, 0x00 },
hazheng 30:ff7f83ad6369 828 { 0xc5, 0x11 },
hazheng 30:ff7f83ad6369 829 { 0xc6, 0x51 },
hazheng 30:ff7f83ad6369 830 { 0xbf, 0x80 },
hazheng 30:ff7f83ad6369 831 { 0xc7, 0x10 },
hazheng 30:ff7f83ad6369 832 { 0xb6, 0x66 },
hazheng 30:ff7f83ad6369 833 { 0xb8, 0xA5 },
hazheng 30:ff7f83ad6369 834 { 0xb7, 0x64 },
hazheng 30:ff7f83ad6369 835 { 0xb9, 0x7C },
hazheng 30:ff7f83ad6369 836 { 0xb3, 0xaf },
hazheng 30:ff7f83ad6369 837 { 0xb4, 0x97 },
hazheng 30:ff7f83ad6369 838 { 0xb5, 0xFF },
hazheng 30:ff7f83ad6369 839 { 0xb0, 0xC5 },
hazheng 30:ff7f83ad6369 840 { 0xb1, 0x94 },
hazheng 30:ff7f83ad6369 841 { 0xb2, 0x0f },
hazheng 30:ff7f83ad6369 842 { 0xc4, 0x5c },
hazheng 30:ff7f83ad6369 843 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 844 { 0xc1, 0x4B },
hazheng 30:ff7f83ad6369 845 { 0x8c, 0x00 },
hazheng 30:ff7f83ad6369 846 { 0x86, 0x3D },
hazheng 30:ff7f83ad6369 847 { 0x50, 0x00 },
hazheng 30:ff7f83ad6369 848 { 0x51, 0xC8 },
hazheng 30:ff7f83ad6369 849 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 850 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 851 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 852 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 853 { 0x5a, 0xC8 },
hazheng 30:ff7f83ad6369 854 { 0x5b, 0x96 },
hazheng 30:ff7f83ad6369 855 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 856 { 0xd3, 0x00 }, //{ 0xd3, 0x7f },
hazheng 30:ff7f83ad6369 857 { 0xc3, 0xed },
hazheng 30:ff7f83ad6369 858 { 0x7f, 0x00 },
hazheng 30:ff7f83ad6369 859 { 0xda, 0x00 },
hazheng 30:ff7f83ad6369 860 { 0xe5, 0x1f },
hazheng 30:ff7f83ad6369 861 { 0xe1, 0x67 },
hazheng 30:ff7f83ad6369 862 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 863 { 0xdd, 0x7f },
hazheng 30:ff7f83ad6369 864 { 0x05, 0x00 },
hazheng 30:ff7f83ad6369 865
hazheng 30:ff7f83ad6369 866 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 867 { 0xd3, 0x04 }, //{ 0xd3, 0x7f },
hazheng 30:ff7f83ad6369 868 { 0xc0, 0x16 },
hazheng 30:ff7f83ad6369 869 { 0xC1, 0x12 },
hazheng 30:ff7f83ad6369 870 { 0x8c, 0x00 },
hazheng 30:ff7f83ad6369 871 { 0x86, 0x3d },
hazheng 30:ff7f83ad6369 872 { 0x50, 0x00 },
hazheng 30:ff7f83ad6369 873 { 0x51, 0x2C },
hazheng 30:ff7f83ad6369 874 { 0x52, 0x24 },
hazheng 30:ff7f83ad6369 875 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 876 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 877 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 878 { 0x5A, 0x2c },
hazheng 30:ff7f83ad6369 879 { 0x5b, 0x24 },
hazheng 30:ff7f83ad6369 880 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 881 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 882 };
hazheng 30:ff7f83ad6369 883
hazheng 32:5badeff825dc 884 const struct sensor_reg YUV422[] =
hazheng 30:ff7f83ad6369 885 {
hazheng 30:ff7f83ad6369 886 { 0xFF, 0x00 },
hazheng 30:ff7f83ad6369 887 { 0x05, 0x00 },
hazheng 30:ff7f83ad6369 888 { 0xDA, 0x10 },
hazheng 30:ff7f83ad6369 889 { 0xD7, 0x03 },
hazheng 30:ff7f83ad6369 890 { 0xDF, 0x00 },
hazheng 30:ff7f83ad6369 891 { 0x33, 0x80 },
hazheng 30:ff7f83ad6369 892 { 0x3C, 0x40 },
hazheng 30:ff7f83ad6369 893 { 0xe1, 0x77 },
hazheng 30:ff7f83ad6369 894 { 0x00, 0x00 },
hazheng 30:ff7f83ad6369 895 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 896 };
hazheng 30:ff7f83ad6369 897
hazheng 32:5badeff825dc 898 const struct sensor_reg JPEG[] =
hazheng 30:ff7f83ad6369 899 {
hazheng 30:ff7f83ad6369 900 { 0xe0, 0x14 },
hazheng 30:ff7f83ad6369 901 { 0xe1, 0x77 },
hazheng 30:ff7f83ad6369 902 { 0xe5, 0x1f },
hazheng 30:ff7f83ad6369 903 { 0xd7, 0x03 },
hazheng 30:ff7f83ad6369 904 { 0xda, 0x10 },
hazheng 30:ff7f83ad6369 905 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 906 { 0xFF, 0x01 },
hazheng 30:ff7f83ad6369 907 { 0x04, 0x08 },
hazheng 30:ff7f83ad6369 908 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 909 };
hazheng 30:ff7f83ad6369 910
hazheng 30:ff7f83ad6369 911 /* JPG 160x120 */
hazheng 32:5badeff825dc 912 const struct sensor_reg P160x120_JPEG[] =
hazheng 30:ff7f83ad6369 913 {
hazheng 30:ff7f83ad6369 914 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 915 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 916 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 917 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 918 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 919 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 920 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 921 { 0x4f, 0xca },
hazheng 30:ff7f83ad6369 922 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 923 { 0x5a, 0x23 },
hazheng 30:ff7f83ad6369 924 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 925 { 0x39, 0x12 },
hazheng 30:ff7f83ad6369 926 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 927 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 928 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 929 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 930 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 931 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 932 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 933 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 934 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 935 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 936 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 937 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 938 { 0xe0, 0x04 },
hazheng 30:ff7f83ad6369 939 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 940 { 0xc1, 0x4b },
hazheng 30:ff7f83ad6369 941 { 0x86, 0x35 },
hazheng 30:ff7f83ad6369 942 { 0x50, 0x92 },
hazheng 30:ff7f83ad6369 943 { 0x51, 0xc8 },
hazheng 30:ff7f83ad6369 944 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 945 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 946 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 947 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 948 { 0x57, 0x00 },
hazheng 30:ff7f83ad6369 949 { 0x5a, 0x28 },
hazheng 30:ff7f83ad6369 950 { 0x5b, 0x1e },
hazheng 30:ff7f83ad6369 951 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 952 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 953 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 954 };
hazheng 30:ff7f83ad6369 955
hazheng 30:ff7f83ad6369 956
hazheng 30:ff7f83ad6369 957 /* JPG 320x240 */
hazheng 30:ff7f83ad6369 958
hazheng 32:5badeff825dc 959 const struct sensor_reg P320x240_JPEG[] =
hazheng 30:ff7f83ad6369 960 {
hazheng 30:ff7f83ad6369 961 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 962 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 963 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 964 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 965 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 966 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 967 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 968 { 0x4f, 0xca },
hazheng 30:ff7f83ad6369 969 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 970 { 0x5a, 0x23 },
hazheng 30:ff7f83ad6369 971 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 972 { 0x39, 0x12 },
hazheng 30:ff7f83ad6369 973 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 974 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 975 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 976 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 977 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 978 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 979 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 980 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 981 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 982 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 983 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 984 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 985 { 0xe0, 0x04 },
hazheng 30:ff7f83ad6369 986 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 987 { 0xc1, 0x4b },
hazheng 30:ff7f83ad6369 988 { 0x86, 0x35 },
hazheng 30:ff7f83ad6369 989 { 0x50, 0x89 },
hazheng 30:ff7f83ad6369 990 { 0x51, 0xc8 },
hazheng 30:ff7f83ad6369 991 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 992 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 993 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 994 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 995 { 0x57, 0x00 },
hazheng 30:ff7f83ad6369 996 { 0x5a, 0x50 },
hazheng 30:ff7f83ad6369 997 { 0x5b, 0x3c },
hazheng 30:ff7f83ad6369 998 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 999 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 1000 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 1001 };
hazheng 33:e3fcc4d6bb9b 1002 #endif //CAMERA_JPEG_FORMAT
hazheng 46:a5eb9bd3bb55 1003 //}
hazheng 30:ff7f83ad6369 1004
hazheng 36:7e747e19f660 1005 #endif //ARDUCAM_OV2640
hazheng 36:7e747e19f660 1006
hazheng 29:f87d8790f57d 1007 #endif //OV2640_REG_PROG_H