Skip to content

Commit f05a4cc

Browse files
committed
bug fix for the camera capture example
1 parent e01534c commit f05a4cc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@
1212

1313
int bytesPerFrame;
1414

15-
byte data[176 * 144 * 2]; // QVGA: 320x240 X 2 bytes per pixel (RGB565)
15+
byte data[176 * 144 * 2]; // QCIF: 176x144 X 2 bytes per pixel (RGB565)
1616

1717
void setup() {
1818
Serial.begin(9600);
1919
while (!Serial);
2020

21-
if (!Camera.begin(QVGA, RGB565, 1, OV7675)) {
21+
if (!Camera.begin(QCIF, RGB565, 1, OV7675)) {
2222
Serial.println("Failed to initialize camera!");
2323
while (1);
2424
}
@@ -33,4 +33,4 @@ void loop() {
3333
Camera.readFrame(data);
3434

3535
Serial.write(data, bytesPerFrame);
36-
}
36+
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy