Skip to content

Commit fbb1bf0

Browse files
committed
Comments
1 parent 6186475 commit fbb1bf0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

main.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,18 +144,17 @@ int main(void){
144144
while (1){
145145
/* captureImg operates in bytes not pixels in some cases pixels are two bytes per pixel
146146
* 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
148148
do{
149149
wrReg(0x11,x);
150-
_delay_ms(1000);
151-
captureImg(320*2,240);
152-
}while(--x);*/
150+
_delay_ms(1000);*/
153151
#ifdef useVga
154152
captureImg(640,480);
155153
#elif defined(useQvga)
156154
captureImg(320*2,240);
157155
#else
158156
captureImg(160*2,120);
159157
#endif
158+
//}while(--x);//Uncomment this line to test divider settings
160159
}
161160
}

0 commit comments

Comments
 (0)