Skip to content

Commit e85d475

Browse files
committed
Updating Comments and Minor Typo
1 parent 1e60d6d commit e85d475

File tree

3 files changed

+4
-24
lines changed

3 files changed

+4
-24
lines changed

examples/test_camera/test_camera.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ void setup() {
2121

2222
initializeShield();
2323

24-
// Initialize camera
24+
// Initialize the OV7675 camera
2525
if (!Camera.begin(QCIF, RGB565, 1, OV7675)) {
2626
Serial.println("Failed to initialize camera");
2727
while (1);

extras/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,18 @@
11
/*
22
OV767X - Camera Capture Raw Bytes
33
4-
This sketch reads a frame from the OmniVision OV7670 camera
4+
This sketch reads a frame from the OmniVision OV7675 camera
55
and writes the bytes to the Serial port. Use the Procesing
66
sketch in the extras folder to visualize the camera output.
77
8-
Circuit:
9-
- Arduino Nano 33 BLE board
10-
- OV7670 camera module:
11-
- 3.3 connected to 3.3
12-
- GND connected GND
13-
- SIOC connected to A5
14-
- SIOD connected to A4
15-
- VSYNC connected to 8
16-
- HREF connected to A1
17-
- PCLK connected to A0
18-
- XCLK connected to 9
19-
- D7 connected to 4
20-
- D6 connected to 6
21-
- D5 connected to 5
22-
- D4 connected to 3
23-
- D3 connected to 2
24-
- D2 connected to 0 / RX
25-
- D1 connected to 1 / TX
26-
- D0 connected to 10
27-
288
This example code is in the public domain.
299
*/
3010

3111
#include <Arduino_OV767X.h>
3212

3313
int bytesPerFrame;
3414

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

3717
void setup() {
3818
Serial.begin(9600);

extras/ConnectionTest/ConnectionTest.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ void setup() {
4949
Serial.begin(9600);
5050
while (!Serial);
5151

52-
if (!Camera.begin(QCIF, RGB565, 5, , OV7675)) {
52+
if (!Camera.begin(QCIF, RGB565, 5, OV7675)) {
5353
Serial.println("Failed to initialize camera!");
5454
while (1);
5555
}

0 commit comments

Comments
 (0)