We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd4afc commit 960990eCopy full SHA for 960990e
libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino
@@ -5,11 +5,18 @@
5
GC2145 galaxyCore;
6
Camera cam(galaxyCore);
7
#define IMAGE_MODE CAMERA_RGB565
8
-#else
9
- #include "himax.h"
10
- HM01B0 himax;
+#elif defined(ARDUINO_PORTENTA_H7_M7)
+ #include "hm0360.h"
+ HM0360 himax;
11
Camera cam(himax);
12
#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."
20
#endif
21
22
/*
0 commit comments