8000
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 fe1cef1 commit a7a35a0Copy full SHA for a7a35a0
libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino
@@ -6,10 +6,11 @@
6
Camera cam(galaxyCore);
7
#define IMAGE_MODE CAMERA_RGB565
8
#elif defined(ARDUINO_PORTENTA_H7_M7)
9
- //#include "hm0360.h"
10
- //HM0360 himax;
11
- #include "himax.h";
12
- HM01B0 himax;
+ // uncomment the correct camera in use
+ #include "hm0360.h"
+ HM0360 himax;
+ // #include "himax.h";
13
+ // HM01B0 himax;
14
Camera cam(himax);
15
#define IMAGE_MODE CAMERA_GRAYSCALE
16
#elif defined(ARDUINO_GIGA)
@@ -87,8 +88,8 @@ void sendFrame(){
87
88
}
89
90
void sendCameraConfig(){
- Serial.write(RESOLUTION);
91
Serial.write(IMAGE_MODE);
92
+ Serial.write(RESOLUTION);
93
Serial.flush();
94
delay(1);
95
0 commit comments