Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e01534c commit f05a4ccCopy full SHA for f05a4cc
extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino
@@ -12,13 +12,13 @@
12
13
int bytesPerFrame;
14
15
-byte data[176 * 144 * 2]; // QVGA: 320x240 X 2 bytes per pixel (RGB565)
+byte data[176 * 144 * 2]; // QCIF: 176x144 X 2 bytes per pixel (RGB565)
16
17
void setup() {
18
Serial.begin(9600);
19
while (!Serial);
20
21
- if (!Camera.begin(QVGA, RGB565, 1, OV7675)) {
+ if (!Camera.begin(QCIF, RGB565, 1, OV7675)) {
22
Serial.println("Failed to initialize camera!");
23
while (1);
24
}
@@ -33,4 +33,4 @@ void loop() {
33
Camera.readFrame(data);
34
35
Serial.write(data, bytesPerFrame);
36
-}
+}
0 commit comments