File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -144,18 +144,17 @@ int main(void){
144
144
while (1 ){
145
145
/* captureImg operates in bytes not pixels in some cases pixels are two bytes per pixel
146
146
* So for the width (if you were reading 640x480) you would put 1280 if you are reading yuv422 or rgb565 */
147
- /*uint8_t x=31;
147
+ /*uint8_t x=63;//Uncomment this block to test divider settings note the other line you need to uncomment
148
148
do{
149
149
wrReg(0x11,x);
150
- _delay_ms(1000);
151
- captureImg(320*2,240);
152
- }while(--x);*/
150
+ _delay_ms(1000);*/
153
151
#ifdef useVga
154
152
captureImg (640 ,480 );
155
153
#elif defined(useQvga )
156
154
captureImg (320 * 2 ,240 );
157
155
#else
158
156
captureImg (160 * 2 ,120 );
159
157
#endif
158
+ //}while(--x);//Uncomment this line to test divider settings
160
159
}
161
160
}
You can’t perform that action at this time.
0 commit comments