diff --git a/ArduCAM/ov2640_regs.h b/ArduCAM/ov2640_regs.h index c2dd305a..12a71378 100644 --- a/ArduCAM/ov2640_regs.h +++ b/ArduCAM/ov2640_regs.h @@ -625,7 +625,7 @@ const struct sensor_reg OV2640_640x480_JPEG[] PROGMEM = { {0xff, 0x01}, {0x11, 0x01}, - {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02Ϊ + {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02为彩条 {0x17, 0x11}, // HREFST[10:3] {0x18, 0x75}, // HREFEND[10:3] {0x32, 0x36}, // Bit[5:3]: HREFEND[2:0]; Bit[2:0]: HREFST[2:0] @@ -673,7 +673,7 @@ const struct sensor_reg OV2640_800x600_JPEG[] PROGMEM = { {0xff, 0x01}, {0x11, 0x01}, - {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02Ϊ + {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02为彩条 {0x17, 0x11}, // HREFST[10:3] {0x18, 0x75}, // HREFEND[10:3] {0x32, 0x36}, // Bit[5:3]: HREFEND[2:0]; Bit[2:0]: HREFST[2:0] @@ -721,7 +721,7 @@ const struct sensor_reg OV2640_1024x768_JPEG[] PROGMEM = { {0xff, 0x01}, {0x11, 0x01}, - {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02Ϊ + {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02为彩条 {0x17, 0x11}, // HREFST[10:3] {0x18, 0x75}, // HREFEND[10:3] {0x32, 0x36}, // Bit[5:3]: HREFEND[2:0]; Bit[2:0]: HREFST[2:0] @@ -768,7 +768,7 @@ const struct sensor_reg OV2640_1280x1024_JPEG[] PROGMEM = { {0xff, 0x01}, {0x11, 0x01}, - {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02Ϊ + {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02为彩条 {0x17, 0x11}, // HREFST[10:3] {0x18, 0x75}, // HREFEND[10:3] {0x32, 0x36}, // Bit[5:3]: HREFEND[2:0]; Bit[2:0]: HREFST[2:0] @@ -816,7 +816,7 @@ const struct sensor_reg OV2640_1600x1200_JPEG[] PROGMEM = { {0xff, 0x01}, {0x11, 0x01}, - {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02Ϊ + {0x12, 0x00}, // Bit[6:4]: Resolution selection//0x02为彩条 {0x17, 0x11}, // HREFST[10:3] {0x18, 0x75}, // HREFEND[10:3] {0x32, 0x36}, // Bit[5:3]: HREFEND[2:0]; Bit[2:0]: HREFST[2:0] @@ -859,9 +859,6 @@ const struct sensor_reg OV2640_1600x1200_JPEG[] PROGMEM = {0xff, 0xff}, }; -#endif - - const struct sensor_reg OV2640_SVGA[] { @@ -1086,4 +1083,6 @@ const struct sensor_reg OV2640_640x480_JPEG2[] = {0x5c,0x00}, //038 {0xd3,0x04}, //039 {0xe0,0x00}, //040 -}; \ No newline at end of file +}; + +#endif