Skip to content

Commit 960990e

Browse files
iabdalkaderpennam
authored andcommitted
Update example.
1 parent edd4afc commit 960990e

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

+10-3
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,18 @@
55
GC2145 galaxyCore;
66
Camera cam(galaxyCore);
77
#define IMAGE_MODE CAMERA_RGB565
8-
#else
9-
#include "himax.h"
10-
HM01B0 himax;
8+
#elif defined(ARDUINO_PORTENTA_H7_M7)
9+
#include "hm0360.h"
10+
HM0360 himax;
1111
Camera cam(himax);
1212
#define IMAGE_MODE CAMERA_GRAYSCALE
13+
#elif defined(ARDUINO_GIGA)
14+
#include "ov7670.h"
15+
OV7670 ov7670;
16+
Camera cam(ov7670);
17+
#define IMAGE_MODE CAMERA_RGB565
18+
#else
19+
#error "This board is unsupported."
1320
#endif
1421

1522
/*

0 commit comments

Comments
 (0)