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:
Fri Apr 14 18:44:41 2017 +0000
Revision:
70:311d32a596db
Parent:
48:f76b5e252444
Child:
91:7b1910ca3ad6
Fixed the camera not centered issue. Reduce the effect of the corner ratio.

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 48:f76b5e252444 238 {0xff, 0x00}, //Bank 0
hazheng 34:f79db3bc2f86 239 {0x2c, 0xff},
hazheng 34:f79db3bc2f86 240 {0x2e, 0xdf},
hazheng 48:f76b5e252444 241 {0xff, 0x01}, //Bank 1
hazheng 34:f79db3bc2f86 242 {0x3c, 0x32},
hazheng 48:f76b5e252444 243 {0x11, 0x80}, /////////// //CLCK Speed
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 70:311d32a596db 413
hazheng 70:311d32a596db 414 /////////////////
hazheng 70:311d32a596db 415 {0x8c, 0x00},
hazheng 34:f79db3bc2f86 416 {0xc0, 0xc8},
hazheng 34:f79db3bc2f86 417 {0xc1, 0x96},
hazheng 70:311d32a596db 418 /////////////////
hazheng 70:311d32a596db 419
hazheng 34:f79db3bc2f86 420 {0x86, 0x3d},
hazheng 70:311d32a596db 421
hazheng 70:311d32a596db 422 /////////////////
hazheng 34:f79db3bc2f86 423 {0x51, 0x90},
hazheng 34:f79db3bc2f86 424 {0x52, 0x2c},
hazheng 34:f79db3bc2f86 425 {0x53, 0x00},
hazheng 34:f79db3bc2f86 426 {0x54, 0x00},
hazheng 34:f79db3bc2f86 427 {0x55, 0x88},
hazheng 34:f79db3bc2f86 428 {0x57, 0x00},
hazheng 70:311d32a596db 429 ////////////////
hazheng 34:f79db3bc2f86 430
hazheng 70:311d32a596db 431 #if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 320) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 240)
hazheng 34:f79db3bc2f86 432 {0x50, 0x92},
hazheng 34:f79db3bc2f86 433 {0x5a, 0x50}, //Zoom
hazheng 34:f79db3bc2f86 434 {0x5b, 0x3C}, //Zoom
hazheng 34:f79db3bc2f86 435 {0x5c, 0x00}, //Zoom
hazheng 36:7e747e19f660 436 #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 160) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 120)
hazheng 70:311d32a596db 437 {0x50, 0x92},
hazheng 34:f79db3bc2f86 438 {0x5a, 0x28}, //Zoom
hazheng 34:f79db3bc2f86 439 {0x5b, 0x1E}, //Zoom
hazheng 34:f79db3bc2f86 440 {0x5c, 0x00}, //Zoom
hazheng 44:15de535c4005 441 #elif (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 80) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 60)
hazheng 70:311d32a596db 442 {0x50, 0xA4},
hazheng 44:15de535c4005 443 {0x5a, 0x14}, //Zoom
hazheng 44:15de535c4005 444 {0x5b, 0x0F}, //Zoom
hazheng 44:15de535c4005 445 {0x5c, 0x00}, //Zoom
hazheng 36:7e747e19f660 446
hazheng 36:7e747e19f660 447 #else
hazheng 36:7e747e19f660 448 #error Must pick one valid resolution!!
hazheng 34:f79db3bc2f86 449 #endif
hazheng 34:f79db3bc2f86 450
hazheng 34:f79db3bc2f86 451 {0xd3, 0x04},
hazheng 34:f79db3bc2f86 452 {0xe0, 0x00},
hazheng 34:f79db3bc2f86 453
hazheng 34:f79db3bc2f86 454 {0xff, 0x00},
hazheng 34:f79db3bc2f86 455 {0x05, 0x00},
hazheng 34:f79db3bc2f86 456
hazheng 34:f79db3bc2f86 457 {0xda, 0x08},
hazheng 34:f79db3bc2f86 458 {0xd7, 0x03},
hazheng 34:f79db3bc2f86 459 {0xe0, 0x00},
hazheng 34:f79db3bc2f86 460
hazheng 34:f79db3bc2f86 461 {0x05, 0x00},
hazheng 34:f79db3bc2f86 462
hazheng 34:f79db3bc2f86 463
hazheng 34:f79db3bc2f86 464 {0xff, 0xff},
hazheng 34:f79db3bc2f86 465 };
hazheng 34:f79db3bc2f86 466 //#endif //320 X 240
hazheng 34:f79db3bc2f86 467
hazheng 34:f79db3bc2f86 468 #if (defined(RESOLUTION_WIDTH) && RESOLUTION_WIDTH == 160) && (defined(RESOLUTION_HEIGHT) && RESOLUTION_HEIGHT == 120)
hazheng 34:f79db3bc2f86 469 const struct sensor_reg QQVGA[]=
hazheng 30:ff7f83ad6369 470 {
hazheng 33:e3fcc4d6bb9b 471 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 472 {0x2c, 0xff},
hazheng 30:ff7f83ad6369 473 {0x2e, 0xdf},
hazheng 33:e3fcc4d6bb9b 474 /*1*/{0xff, 0x1},
hazheng 32:5badeff825dc 475 {0x3c, 0x32},
hazheng 32:5badeff825dc 476
hazheng 30:ff7f83ad6369 477 {0x11, 0x0},
hazheng 30:ff7f83ad6369 478 {0x9, 0x2},
hazheng 33:e3fcc4d6bb9b 479 {0x04, 0x28}, /////////// //Horizontal Mirror
hazheng 30:ff7f83ad6369 480 {0x13, 0xe5},
hazheng 30:ff7f83ad6369 481 {0x14, 0x48},
hazheng 30:ff7f83ad6369 482 {0x2c, 0xc},
hazheng 30:ff7f83ad6369 483 {0x33, 0x78},
hazheng 30:ff7f83ad6369 484 {0x3a, 0x33},
hazheng 30:ff7f83ad6369 485 {0x3b, 0xfb},
hazheng 32:5badeff825dc 486
hazheng 30:ff7f83ad6369 487 {0x3e, 0x0},
hazheng 30:ff7f83ad6369 488 {0x43, 0x11},
hazheng 30:ff7f83ad6369 489 {0x16, 0x10},
hazheng 32:5badeff825dc 490
hazheng 32:5badeff825dc 491 {0x39, 0x2}, ///////////
hazheng 32:5badeff825dc 492
hazheng 32:5badeff825dc 493 {0x35, 0x88}, ///////////////
hazheng 32:5badeff825dc 494 {0x22, 0xa}, /////////////
hazheng 32:5badeff825dc 495 {0x37, 0x40}, ///////////
hazheng 30:ff7f83ad6369 496 {0x23, 0x0},
hazheng 32:5badeff825dc 497 {0x34, 0xa0},///////////////////
hazheng 32:5badeff825dc 498 {0x6, 0x2}, //++++++++++++++
hazheng 30:ff7f83ad6369 499 {0x6, 0x88},
hazheng 30:ff7f83ad6369 500 {0x7, 0xc0},
hazheng 32:5badeff825dc 501 {0xd, 0xb7}, ////////
hazheng 32:5badeff825dc 502 {0xe, 0x1}, /////////
hazheng 30:ff7f83ad6369 503 {0x4c, 0x0},
hazheng 32:5badeff825dc 504
hazheng 32:5badeff825dc 505 {0x4a, 0x81}, //++++++++++++++
hazheng 32:5badeff825dc 506
hazheng 30:ff7f83ad6369 507 {0x21, 0x99},
hazheng 30:ff7f83ad6369 508 {0x24, 0x40},
hazheng 30:ff7f83ad6369 509 {0x25, 0x38},
hazheng 30:ff7f83ad6369 510 {0x26, 0x82},
hazheng 30:ff7f83ad6369 511 {0x5c, 0x0},
hazheng 30:ff7f83ad6369 512 {0x63, 0x0},
hazheng 30:ff7f83ad6369 513 {0x46, 0x22},
hazheng 32:5badeff825dc 514 {0xc, 0x3a}, ///////////
hazheng 32:5badeff825dc 515
hazheng 32:5badeff825dc 516
hazheng 32:5badeff825dc 517 {0x5d, 0x55},//////
hazheng 32:5badeff825dc 518 {0x5e, 0x7d}, //////////
hazheng 32:5badeff825dc 519 {0x5f, 0x7d}, //////////
hazheng 32:5badeff825dc 520 {0x60, 0x55}, ///////
hazheng 32:5badeff825dc 521
hazheng 30:ff7f83ad6369 522 {0x61, 0x70},
hazheng 30:ff7f83ad6369 523 {0x62, 0x80},
hazheng 30:ff7f83ad6369 524 {0x7c, 0x5},
hazheng 32:5badeff825dc 525
hazheng 30:ff7f83ad6369 526 {0x20, 0x80},
hazheng 30:ff7f83ad6369 527 {0x28, 0x30},
hazheng 30:ff7f83ad6369 528 {0x6c, 0x0},
hazheng 30:ff7f83ad6369 529 {0x6d, 0x80},
hazheng 30:ff7f83ad6369 530 {0x6e, 0x0},
hazheng 30:ff7f83ad6369 531 {0x70, 0x2},
hazheng 30:ff7f83ad6369 532 {0x71, 0x94},
hazheng 30:ff7f83ad6369 533 {0x73, 0xc1},
hazheng 32:5badeff825dc 534
hazheng 30:ff7f83ad6369 535 {0x3d, 0x34},
hazheng 32:5badeff825dc 536
hazheng 32:5badeff825dc 537 {0x12, 0x4}, ////////////
hazheng 30:ff7f83ad6369 538 {0x5a, 0x57},
hazheng 32:5badeff825dc 539
hazheng 30:ff7f83ad6369 540 {0x4f, 0xbb},
hazheng 30:ff7f83ad6369 541 {0x50, 0x9c},
hazheng 32:5badeff825dc 542
hazheng 32:5badeff825dc 543
hazheng 33:e3fcc4d6bb9b 544 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 545 {0xe5, 0x7f},
hazheng 30:ff7f83ad6369 546 {0xf9, 0xc0},
hazheng 30:ff7f83ad6369 547 {0x41, 0x24},
hazheng 30:ff7f83ad6369 548 {0xe0, 0x14},
hazheng 30:ff7f83ad6369 549 {0x76, 0xff},
hazheng 30:ff7f83ad6369 550 {0x33, 0xa0},
hazheng 30:ff7f83ad6369 551 {0x42, 0x20},
hazheng 30:ff7f83ad6369 552 {0x43, 0x18},
hazheng 30:ff7f83ad6369 553 {0x4c, 0x0},
hazheng 32:5badeff825dc 554 {0x87, 0xd0}, ///////
hazheng 30:ff7f83ad6369 555 {0x88, 0x3f},
hazheng 30:ff7f83ad6369 556 {0xd7, 0x3},
hazheng 30:ff7f83ad6369 557 {0xd9, 0x10},
hazheng 30:ff7f83ad6369 558 {0xd3, 0x82},
hazheng 32:5badeff825dc 559
hazheng 30:ff7f83ad6369 560 {0xc8, 0x8},
hazheng 30:ff7f83ad6369 561 {0xc9, 0x80},
hazheng 32:5badeff825dc 562
hazheng 30:ff7f83ad6369 563 {0x7c, 0x0},
hazheng 30:ff7f83ad6369 564 {0x7d, 0x0},
hazheng 30:ff7f83ad6369 565 {0x7c, 0x3},
hazheng 30:ff7f83ad6369 566 {0x7d, 0x48},
hazheng 30:ff7f83ad6369 567 {0x7d, 0x48},
hazheng 33:e3fcc4d6bb9b 568 {0x7c, 0x08},
hazheng 33:e3fcc4d6bb9b 569 {0x7d, 0x00}, //Gamma Correction?
hazheng 30:ff7f83ad6369 570 {0x7d, 0x10},
hazheng 33:e3fcc4d6bb9b 571 {0x7d, 0x0e},
hazheng 30:ff7f83ad6369 572 {0x90, 0x0},
hazheng 30:ff7f83ad6369 573 {0x91, 0xe},
hazheng 30:ff7f83ad6369 574 {0x91, 0x1a},
hazheng 30:ff7f83ad6369 575 {0x91, 0x31},
hazheng 30:ff7f83ad6369 576 {0x91, 0x5a},
hazheng 30:ff7f83ad6369 577 {0x91, 0x69},
hazheng 30:ff7f83ad6369 578 {0x91, 0x75},
hazheng 30:ff7f83ad6369 579 {0x91, 0x7e},
hazheng 30:ff7f83ad6369 580 {0x91, 0x88},
hazheng 30:ff7f83ad6369 581 {0x91, 0x8f},
hazheng 30:ff7f83ad6369 582 {0x91, 0x96},
hazheng 30:ff7f83ad6369 583 {0x91, 0xa3},
hazheng 30:ff7f83ad6369 584 {0x91, 0xaf},
hazheng 30:ff7f83ad6369 585 {0x91, 0xc4},
hazheng 30:ff7f83ad6369 586 {0x91, 0xd7},
hazheng 30:ff7f83ad6369 587 {0x91, 0xe8},
hazheng 30:ff7f83ad6369 588 {0x91, 0x20},
hazheng 32:5badeff825dc 589
hazheng 30:ff7f83ad6369 590 {0x92, 0x0},
hazheng 30:ff7f83ad6369 591 {0x93, 0x6},
hazheng 30:ff7f83ad6369 592 {0x93, 0xe3},
hazheng 32:5badeff825dc 593 {0x93, 0x3}, ////////
hazheng 32:5badeff825dc 594 {0x93, 0x3}, /////////
hazheng 30:ff7f83ad6369 595 {0x93, 0x0},
hazheng 32:5badeff825dc 596 {0x93, 0x2}, ///////
hazheng 30:ff7f83ad6369 597 {0x93, 0x0},
hazheng 30:ff7f83ad6369 598 {0x93, 0x0},
hazheng 30:ff7f83ad6369 599 {0x93, 0x0},
hazheng 30:ff7f83ad6369 600 {0x93, 0x0},
hazheng 30:ff7f83ad6369 601 {0x93, 0x0},
hazheng 30:ff7f83ad6369 602 {0x93, 0x0},
hazheng 30:ff7f83ad6369 603 {0x93, 0x0},
hazheng 32:5badeff825dc 604
hazheng 30:ff7f83ad6369 605 {0x96, 0x0},
hazheng 30:ff7f83ad6369 606 {0x97, 0x8},
hazheng 30:ff7f83ad6369 607 {0x97, 0x19},
hazheng 30:ff7f83ad6369 608 {0x97, 0x2},
hazheng 30:ff7f83ad6369 609 {0x97, 0xc},
hazheng 30:ff7f83ad6369 610 {0x97, 0x24},
hazheng 30:ff7f83ad6369 611 {0x97, 0x30},
hazheng 30:ff7f83ad6369 612 {0x97, 0x28},
hazheng 30:ff7f83ad6369 613 {0x97, 0x26},
hazheng 30:ff7f83ad6369 614 {0x97, 0x2},
hazheng 30:ff7f83ad6369 615 {0x97, 0x98},
hazheng 30:ff7f83ad6369 616 {0x97, 0x80},
hazheng 30:ff7f83ad6369 617 {0x97, 0x0},
hazheng 30:ff7f83ad6369 618 {0x97, 0x0},
hazheng 32:5badeff825dc 619
hazheng 32:5badeff825dc 620 //////
hazheng 30:ff7f83ad6369 621 {0xa4, 0x0},
hazheng 30:ff7f83ad6369 622 {0xa8, 0x0},
hazheng 30:ff7f83ad6369 623 {0xc5, 0x11},
hazheng 30:ff7f83ad6369 624 {0xc6, 0x51},
hazheng 30:ff7f83ad6369 625 {0xbf, 0x80},
hazheng 30:ff7f83ad6369 626 {0xc7, 0x10},
hazheng 30:ff7f83ad6369 627 {0xb6, 0x66},
hazheng 30:ff7f83ad6369 628 {0xb8, 0xa5},
hazheng 30:ff7f83ad6369 629 {0xb7, 0x64},
hazheng 30:ff7f83ad6369 630 {0xb9, 0x7c},
hazheng 30:ff7f83ad6369 631 {0xb3, 0xaf},
hazheng 30:ff7f83ad6369 632 {0xb4, 0x97},
hazheng 30:ff7f83ad6369 633 {0xb5, 0xff},
hazheng 30:ff7f83ad6369 634 {0xb0, 0xc5},
hazheng 30:ff7f83ad6369 635 {0xb1, 0x94},
hazheng 30:ff7f83ad6369 636 {0xb2, 0xf},
hazheng 30:ff7f83ad6369 637 {0xc4, 0x5c},
hazheng 32:5badeff825dc 638
hazheng 30:ff7f83ad6369 639 {0xa6, 0x0},
hazheng 30:ff7f83ad6369 640 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 641 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 642 {0xa7, 0x1b},
hazheng 30:ff7f83ad6369 643 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 644 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 645 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 646 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 647 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 648 {0xa7, 0x19},
hazheng 30:ff7f83ad6369 649 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 650 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 651 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 652 {0xa7, 0x20},
hazheng 30:ff7f83ad6369 653 {0xa7, 0xd8},
hazheng 30:ff7f83ad6369 654 {0xa7, 0x19},
hazheng 30:ff7f83ad6369 655 {0xa7, 0x31},
hazheng 30:ff7f83ad6369 656 {0xa7, 0x0},
hazheng 30:ff7f83ad6369 657 {0xa7, 0x18},
hazheng 30:ff7f83ad6369 658 {0x7f, 0x0},
hazheng 30:ff7f83ad6369 659 {0xe5, 0x1f},
hazheng 30:ff7f83ad6369 660 {0xe1, 0x77},
hazheng 30:ff7f83ad6369 661 {0xdd, 0x7f},
hazheng 30:ff7f83ad6369 662 {0xc2, 0xe},
hazheng 30:ff7f83ad6369 663
hazheng 33:e3fcc4d6bb9b 664 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 665 {0xe0, 0x4},
hazheng 30:ff7f83ad6369 666 {0xc0, 0xc8},
hazheng 30:ff7f83ad6369 667 {0xc1, 0x96},
hazheng 30:ff7f83ad6369 668 {0x86, 0x3d},
hazheng 30:ff7f83ad6369 669 {0x51, 0x90},
hazheng 30:ff7f83ad6369 670 {0x52, 0x2c},
hazheng 30:ff7f83ad6369 671 {0x53, 0x0},
hazheng 30:ff7f83ad6369 672 {0x54, 0x0},
hazheng 30:ff7f83ad6369 673 {0x55, 0x88},
hazheng 30:ff7f83ad6369 674 {0x57, 0x0},
hazheng 30:ff7f83ad6369 675
hazheng 30:ff7f83ad6369 676 {0x50, 0x92},
hazheng 34:f79db3bc2f86 677 {0x5a, 0x28},
hazheng 34:f79db3bc2f86 678 {0x5b, 0x1E},
hazheng 30:ff7f83ad6369 679 {0x5c, 0x0},
hazheng 30:ff7f83ad6369 680 {0xd3, 0x4},
hazheng 30:ff7f83ad6369 681 {0xe0, 0x0},
hazheng 30:ff7f83ad6369 682
hazheng 33:e3fcc4d6bb9b 683 /*0*/{0xff, 0x0},
hazheng 30:ff7f83ad6369 684 {0x5, 0x0},
hazheng 30:ff7f83ad6369 685
hazheng 30:ff7f83ad6369 686 {0xda, 0x8},
hazheng 30:ff7f83ad6369 687 {0xd7, 0x3},
hazheng 30:ff7f83ad6369 688 {0xe0, 0x0},
hazheng 30:ff7f83ad6369 689
hazheng 30:ff7f83ad6369 690 {0x5, 0x0},
hazheng 30:ff7f83ad6369 691
hazheng 30:ff7f83ad6369 692
hazheng 30:ff7f83ad6369 693 {0xff,0xff},
hazheng 33:e3fcc4d6bb9b 694 };
hazheng 33:e3fcc4d6bb9b 695 #endif //160 * 120
hazheng 33:e3fcc4d6bb9b 696
hazheng 33:e3fcc4d6bb9b 697 #ifdef CAMERA_JPEG_FORMAT
hazheng 32:5badeff825dc 698 const struct sensor_reg JPEG_INIT[] =
hazheng 30:ff7f83ad6369 699 {
hazheng 30:ff7f83ad6369 700 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 701 { 0x2c, 0xff },
hazheng 30:ff7f83ad6369 702 { 0x2e, 0xdf },
hazheng 30:ff7f83ad6369 703 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 704 { 0x3c, 0x32 },
hazheng 30:ff7f83ad6369 705 { 0x11, 0x00 },
hazheng 30:ff7f83ad6369 706 { 0x09, 0x02 },
hazheng 30:ff7f83ad6369 707 { 0x04, 0x28 },
hazheng 30:ff7f83ad6369 708 { 0x13, 0xe5 },
hazheng 30:ff7f83ad6369 709 { 0x14, 0x48 },
hazheng 30:ff7f83ad6369 710 { 0x2c, 0x0c },
hazheng 30:ff7f83ad6369 711 { 0x33, 0x78 },
hazheng 30:ff7f83ad6369 712 { 0x3a, 0x33 },
hazheng 30:ff7f83ad6369 713 { 0x3b, 0xfB },
hazheng 30:ff7f83ad6369 714 { 0x3e, 0x00 },
hazheng 30:ff7f83ad6369 715 { 0x43, 0x11 },
hazheng 30:ff7f83ad6369 716 { 0x16, 0x10 },
hazheng 30:ff7f83ad6369 717 { 0x39, 0x92 },
hazheng 30:ff7f83ad6369 718 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 719 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 720 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 721 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 722 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 723 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 724 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 725 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 726 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 727 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 728 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 729 { 0x48, 0x00 },
hazheng 30:ff7f83ad6369 730 { 0x5B, 0x00 },
hazheng 30:ff7f83ad6369 731 { 0x42, 0x03 },
hazheng 30:ff7f83ad6369 732 { 0x4a, 0x81 },
hazheng 30:ff7f83ad6369 733 { 0x21, 0x99 },
hazheng 30:ff7f83ad6369 734 { 0x24, 0x40 },
hazheng 30:ff7f83ad6369 735 { 0x25, 0x38 },
hazheng 30:ff7f83ad6369 736 { 0x26, 0x82 },
hazheng 30:ff7f83ad6369 737 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 738 { 0x63, 0x00 },
hazheng 30:ff7f83ad6369 739 { 0x61, 0x70 },
hazheng 30:ff7f83ad6369 740 { 0x62, 0x80 },
hazheng 30:ff7f83ad6369 741 { 0x7c, 0x05 },
hazheng 30:ff7f83ad6369 742 { 0x20, 0x80 },
hazheng 30:ff7f83ad6369 743 { 0x28, 0x30 },
hazheng 30:ff7f83ad6369 744 { 0x6c, 0x00 },
hazheng 30:ff7f83ad6369 745 { 0x6d, 0x80 },
hazheng 30:ff7f83ad6369 746 { 0x6e, 0x00 },
hazheng 30:ff7f83ad6369 747 { 0x70, 0x02 },
hazheng 30:ff7f83ad6369 748 { 0x71, 0x94 },
hazheng 30:ff7f83ad6369 749 { 0x73, 0xc1 },
hazheng 30:ff7f83ad6369 750 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 751 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 752 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 753 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 754 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 755 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 756 { 0x37, 0xc0 },
hazheng 30:ff7f83ad6369 757 { 0x4f, 0x60 },
hazheng 30:ff7f83ad6369 758 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 759 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 760 { 0x3d, 0x38 },
hazheng 30:ff7f83ad6369 761 { 0x46, 0x3f },
hazheng 30:ff7f83ad6369 762 { 0x4f, 0x60 },
hazheng 30:ff7f83ad6369 763 { 0x0c, 0x3c },
hazheng 30:ff7f83ad6369 764 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 765 { 0xe5, 0x7f },
hazheng 30:ff7f83ad6369 766 { 0xf9, 0xc0 },
hazheng 30:ff7f83ad6369 767 { 0x41, 0x24 },
hazheng 30:ff7f83ad6369 768 { 0xe0, 0x14 },
hazheng 30:ff7f83ad6369 769 { 0x76, 0xff },
hazheng 30:ff7f83ad6369 770 { 0x33, 0xa0 },
hazheng 30:ff7f83ad6369 771 { 0x42, 0x20 },
hazheng 30:ff7f83ad6369 772 { 0x43, 0x18 },
hazheng 30:ff7f83ad6369 773 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 774 { 0x87, 0xd5 },
hazheng 30:ff7f83ad6369 775 { 0x88, 0x3f },
hazheng 30:ff7f83ad6369 776 { 0xd7, 0x03 },
hazheng 30:ff7f83ad6369 777 { 0xd9, 0x10 },
hazheng 30:ff7f83ad6369 778 { 0xd3, 0x82 },
hazheng 30:ff7f83ad6369 779 { 0xc8, 0x08 },
hazheng 30:ff7f83ad6369 780 { 0xc9, 0x80 },
hazheng 30:ff7f83ad6369 781 { 0x7c, 0x00 },
hazheng 30:ff7f83ad6369 782 { 0x7d, 0x00 },
hazheng 30:ff7f83ad6369 783 { 0x7c, 0x03 },
hazheng 30:ff7f83ad6369 784 { 0x7d, 0x48 },
hazheng 30:ff7f83ad6369 785 { 0x7d, 0x48 },
hazheng 30:ff7f83ad6369 786 { 0x7c, 0x08 },
hazheng 30:ff7f83ad6369 787 { 0x7d, 0x20 },
hazheng 30:ff7f83ad6369 788 { 0x7d, 0x10 },
hazheng 30:ff7f83ad6369 789 { 0x7d, 0x0e },
hazheng 30:ff7f83ad6369 790 { 0x90, 0x00 },
hazheng 30:ff7f83ad6369 791 { 0x91, 0x0e },
hazheng 30:ff7f83ad6369 792 { 0x91, 0x1a },
hazheng 30:ff7f83ad6369 793 { 0x91, 0x31 },
hazheng 30:ff7f83ad6369 794 { 0x91, 0x5a },
hazheng 30:ff7f83ad6369 795 { 0x91, 0x69 },
hazheng 30:ff7f83ad6369 796 { 0x91, 0x75 },
hazheng 30:ff7f83ad6369 797 { 0x91, 0x7e },
hazheng 30:ff7f83ad6369 798 { 0x91, 0x88 },
hazheng 30:ff7f83ad6369 799 { 0x91, 0x8f },
hazheng 30:ff7f83ad6369 800 { 0x91, 0x96 },
hazheng 30:ff7f83ad6369 801 { 0x91, 0xa3 },
hazheng 30:ff7f83ad6369 802 { 0x91, 0xaf },
hazheng 30:ff7f83ad6369 803 { 0x91, 0xc4 },
hazheng 30:ff7f83ad6369 804 { 0x91, 0xd7 },
hazheng 30:ff7f83ad6369 805 { 0x91, 0xe8 },
hazheng 30:ff7f83ad6369 806 { 0x91, 0x20 },
hazheng 30:ff7f83ad6369 807 { 0x92, 0x00 },
hazheng 30:ff7f83ad6369 808 { 0x93, 0x06 },
hazheng 30:ff7f83ad6369 809 { 0x93, 0xe3 },
hazheng 30:ff7f83ad6369 810 { 0x93, 0x05 },
hazheng 30:ff7f83ad6369 811 { 0x93, 0x05 },
hazheng 30:ff7f83ad6369 812 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 813 { 0x93, 0x04 },
hazheng 30:ff7f83ad6369 814 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 815 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 816 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 817 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 818 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 819 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 820 { 0x93, 0x00 },
hazheng 30:ff7f83ad6369 821 { 0x96, 0x00 },
hazheng 30:ff7f83ad6369 822 { 0x97, 0x08 },
hazheng 30:ff7f83ad6369 823 { 0x97, 0x19 },
hazheng 30:ff7f83ad6369 824 { 0x97, 0x02 },
hazheng 30:ff7f83ad6369 825 { 0x97, 0x0c },
hazheng 30:ff7f83ad6369 826 { 0x97, 0x24 },
hazheng 30:ff7f83ad6369 827 { 0x97, 0x30 },
hazheng 30:ff7f83ad6369 828 { 0x97, 0x28 },
hazheng 30:ff7f83ad6369 829 { 0x97, 0x26 },
hazheng 30:ff7f83ad6369 830 { 0x97, 0x02 },
hazheng 30:ff7f83ad6369 831 { 0x97, 0x98 },
hazheng 30:ff7f83ad6369 832 { 0x97, 0x80 },
hazheng 30:ff7f83ad6369 833 { 0x97, 0x00 },
hazheng 30:ff7f83ad6369 834 { 0x97, 0x00 },
hazheng 30:ff7f83ad6369 835 { 0xc3, 0xed },
hazheng 30:ff7f83ad6369 836 { 0xa4, 0x00 },
hazheng 30:ff7f83ad6369 837 { 0xa8, 0x00 },
hazheng 30:ff7f83ad6369 838 { 0xc5, 0x11 },
hazheng 30:ff7f83ad6369 839 { 0xc6, 0x51 },
hazheng 30:ff7f83ad6369 840 { 0xbf, 0x80 },
hazheng 30:ff7f83ad6369 841 { 0xc7, 0x10 },
hazheng 30:ff7f83ad6369 842 { 0xb6, 0x66 },
hazheng 30:ff7f83ad6369 843 { 0xb8, 0xA5 },
hazheng 30:ff7f83ad6369 844 { 0xb7, 0x64 },
hazheng 30:ff7f83ad6369 845 { 0xb9, 0x7C },
hazheng 30:ff7f83ad6369 846 { 0xb3, 0xaf },
hazheng 30:ff7f83ad6369 847 { 0xb4, 0x97 },
hazheng 30:ff7f83ad6369 848 { 0xb5, 0xFF },
hazheng 30:ff7f83ad6369 849 { 0xb0, 0xC5 },
hazheng 30:ff7f83ad6369 850 { 0xb1, 0x94 },
hazheng 30:ff7f83ad6369 851 { 0xb2, 0x0f },
hazheng 30:ff7f83ad6369 852 { 0xc4, 0x5c },
hazheng 30:ff7f83ad6369 853 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 854 { 0xc1, 0x4B },
hazheng 30:ff7f83ad6369 855 { 0x8c, 0x00 },
hazheng 30:ff7f83ad6369 856 { 0x86, 0x3D },
hazheng 30:ff7f83ad6369 857 { 0x50, 0x00 },
hazheng 30:ff7f83ad6369 858 { 0x51, 0xC8 },
hazheng 30:ff7f83ad6369 859 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 860 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 861 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 862 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 863 { 0x5a, 0xC8 },
hazheng 30:ff7f83ad6369 864 { 0x5b, 0x96 },
hazheng 30:ff7f83ad6369 865 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 866 { 0xd3, 0x00 }, //{ 0xd3, 0x7f },
hazheng 30:ff7f83ad6369 867 { 0xc3, 0xed },
hazheng 30:ff7f83ad6369 868 { 0x7f, 0x00 },
hazheng 30:ff7f83ad6369 869 { 0xda, 0x00 },
hazheng 30:ff7f83ad6369 870 { 0xe5, 0x1f },
hazheng 30:ff7f83ad6369 871 { 0xe1, 0x67 },
hazheng 30:ff7f83ad6369 872 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 873 { 0xdd, 0x7f },
hazheng 30:ff7f83ad6369 874 { 0x05, 0x00 },
hazheng 30:ff7f83ad6369 875
hazheng 30:ff7f83ad6369 876 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 877 { 0xd3, 0x04 }, //{ 0xd3, 0x7f },
hazheng 30:ff7f83ad6369 878 { 0xc0, 0x16 },
hazheng 30:ff7f83ad6369 879 { 0xC1, 0x12 },
hazheng 30:ff7f83ad6369 880 { 0x8c, 0x00 },
hazheng 30:ff7f83ad6369 881 { 0x86, 0x3d },
hazheng 30:ff7f83ad6369 882 { 0x50, 0x00 },
hazheng 30:ff7f83ad6369 883 { 0x51, 0x2C },
hazheng 30:ff7f83ad6369 884 { 0x52, 0x24 },
hazheng 30:ff7f83ad6369 885 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 886 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 887 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 888 { 0x5A, 0x2c },
hazheng 30:ff7f83ad6369 889 { 0x5b, 0x24 },
hazheng 30:ff7f83ad6369 890 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 891 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 892 };
hazheng 30:ff7f83ad6369 893
hazheng 32:5badeff825dc 894 const struct sensor_reg YUV422[] =
hazheng 30:ff7f83ad6369 895 {
hazheng 30:ff7f83ad6369 896 { 0xFF, 0x00 },
hazheng 30:ff7f83ad6369 897 { 0x05, 0x00 },
hazheng 30:ff7f83ad6369 898 { 0xDA, 0x10 },
hazheng 30:ff7f83ad6369 899 { 0xD7, 0x03 },
hazheng 30:ff7f83ad6369 900 { 0xDF, 0x00 },
hazheng 30:ff7f83ad6369 901 { 0x33, 0x80 },
hazheng 30:ff7f83ad6369 902 { 0x3C, 0x40 },
hazheng 30:ff7f83ad6369 903 { 0xe1, 0x77 },
hazheng 30:ff7f83ad6369 904 { 0x00, 0x00 },
hazheng 30:ff7f83ad6369 905 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 906 };
hazheng 30:ff7f83ad6369 907
hazheng 32:5badeff825dc 908 const struct sensor_reg JPEG[] =
hazheng 30:ff7f83ad6369 909 {
hazheng 30:ff7f83ad6369 910 { 0xe0, 0x14 },
hazheng 30:ff7f83ad6369 911 { 0xe1, 0x77 },
hazheng 30:ff7f83ad6369 912 { 0xe5, 0x1f },
hazheng 30:ff7f83ad6369 913 { 0xd7, 0x03 },
hazheng 30:ff7f83ad6369 914 { 0xda, 0x10 },
hazheng 30:ff7f83ad6369 915 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 916 { 0xFF, 0x01 },
hazheng 30:ff7f83ad6369 917 { 0x04, 0x08 },
hazheng 30:ff7f83ad6369 918 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 919 };
hazheng 30:ff7f83ad6369 920
hazheng 30:ff7f83ad6369 921 /* JPG 160x120 */
hazheng 32:5badeff825dc 922 const struct sensor_reg P160x120_JPEG[] =
hazheng 30:ff7f83ad6369 923 {
hazheng 30:ff7f83ad6369 924 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 925 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 926 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 927 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 928 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 929 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 930 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 931 { 0x4f, 0xca },
hazheng 30:ff7f83ad6369 932 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 933 { 0x5a, 0x23 },
hazheng 30:ff7f83ad6369 934 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 935 { 0x39, 0x12 },
hazheng 30:ff7f83ad6369 936 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 937 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 938 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 939 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 940 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 941 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 942 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 943 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 944 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 945 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 946 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 947 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 948 { 0xe0, 0x04 },
hazheng 30:ff7f83ad6369 949 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 950 { 0xc1, 0x4b },
hazheng 30:ff7f83ad6369 951 { 0x86, 0x35 },
hazheng 30:ff7f83ad6369 952 { 0x50, 0x92 },
hazheng 30:ff7f83ad6369 953 { 0x51, 0xc8 },
hazheng 30:ff7f83ad6369 954 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 955 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 956 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 957 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 958 { 0x57, 0x00 },
hazheng 30:ff7f83ad6369 959 { 0x5a, 0x28 },
hazheng 30:ff7f83ad6369 960 { 0x5b, 0x1e },
hazheng 30:ff7f83ad6369 961 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 962 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 963 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 964 };
hazheng 30:ff7f83ad6369 965
hazheng 30:ff7f83ad6369 966
hazheng 30:ff7f83ad6369 967 /* JPG 320x240 */
hazheng 30:ff7f83ad6369 968
hazheng 32:5badeff825dc 969 const struct sensor_reg P320x240_JPEG[] =
hazheng 30:ff7f83ad6369 970 {
hazheng 30:ff7f83ad6369 971 { 0xff, 0x01 },
hazheng 30:ff7f83ad6369 972 { 0x12, 0x40 },
hazheng 30:ff7f83ad6369 973 { 0x17, 0x11 },
hazheng 30:ff7f83ad6369 974 { 0x18, 0x43 },
hazheng 30:ff7f83ad6369 975 { 0x19, 0x00 },
hazheng 30:ff7f83ad6369 976 { 0x1a, 0x4b },
hazheng 30:ff7f83ad6369 977 { 0x32, 0x09 },
hazheng 30:ff7f83ad6369 978 { 0x4f, 0xca },
hazheng 30:ff7f83ad6369 979 { 0x50, 0xa8 },
hazheng 30:ff7f83ad6369 980 { 0x5a, 0x23 },
hazheng 30:ff7f83ad6369 981 { 0x6d, 0x00 },
hazheng 30:ff7f83ad6369 982 { 0x39, 0x12 },
hazheng 30:ff7f83ad6369 983 { 0x35, 0xda },
hazheng 30:ff7f83ad6369 984 { 0x22, 0x1a },
hazheng 30:ff7f83ad6369 985 { 0x37, 0xc3 },
hazheng 30:ff7f83ad6369 986 { 0x23, 0x00 },
hazheng 30:ff7f83ad6369 987 { 0x34, 0xc0 },
hazheng 30:ff7f83ad6369 988 { 0x36, 0x1a },
hazheng 30:ff7f83ad6369 989 { 0x06, 0x88 },
hazheng 30:ff7f83ad6369 990 { 0x07, 0xc0 },
hazheng 30:ff7f83ad6369 991 { 0x0d, 0x87 },
hazheng 30:ff7f83ad6369 992 { 0x0e, 0x41 },
hazheng 30:ff7f83ad6369 993 { 0x4c, 0x00 },
hazheng 30:ff7f83ad6369 994 { 0xff, 0x00 },
hazheng 30:ff7f83ad6369 995 { 0xe0, 0x04 },
hazheng 30:ff7f83ad6369 996 { 0xc0, 0x64 },
hazheng 30:ff7f83ad6369 997 { 0xc1, 0x4b },
hazheng 30:ff7f83ad6369 998 { 0x86, 0x35 },
hazheng 30:ff7f83ad6369 999 { 0x50, 0x89 },
hazheng 30:ff7f83ad6369 1000 { 0x51, 0xc8 },
hazheng 30:ff7f83ad6369 1001 { 0x52, 0x96 },
hazheng 30:ff7f83ad6369 1002 { 0x53, 0x00 },
hazheng 30:ff7f83ad6369 1003 { 0x54, 0x00 },
hazheng 30:ff7f83ad6369 1004 { 0x55, 0x00 },
hazheng 30:ff7f83ad6369 1005 { 0x57, 0x00 },
hazheng 30:ff7f83ad6369 1006 { 0x5a, 0x50 },
hazheng 30:ff7f83ad6369 1007 { 0x5b, 0x3c },
hazheng 30:ff7f83ad6369 1008 { 0x5c, 0x00 },
hazheng 30:ff7f83ad6369 1009 { 0xe0, 0x00 },
hazheng 30:ff7f83ad6369 1010 { 0xff, 0xff },
hazheng 30:ff7f83ad6369 1011 };
hazheng 33:e3fcc4d6bb9b 1012 #endif //CAMERA_JPEG_FORMAT
hazheng 46:a5eb9bd3bb55 1013 //}
hazheng 30:ff7f83ad6369 1014
hazheng 36:7e747e19f660 1015 #endif //ARDUCAM_OV2640
hazheng 36:7e747e19f660 1016
hazheng 29:f87d8790f57d 1017 #endif //OV2640_REG_PROG_H