8000 Change order of config bytes · arduino/ArduinoCore-mbed@a7a35a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit a7a35a0

Browse files
committed
Change order of config bytes
1 parent fe1cef1 commit a7a35a0

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
Camera cam(galaxyCore);
77
#define IMAGE_MODE CAMERA_RGB565
88
#elif defined(ARDUINO_PORTENTA_H7_M7)
9-
//#include "hm0360.h"
10-
//HM0360 himax;
11-
#include "himax.h";
12-
HM01B0 himax;
9+
// uncomment the correct camera in use
10+
#include "hm0360.h"
11+
HM0360 himax;
12+
// #include "himax.h";
13+
// HM01B0 himax;
1314
Camera cam(himax);
1415
#define IMAGE_MODE CAMERA_GRAYSCALE
1516
#elif defined(ARDUINO_GIGA)
@@ -87,8 +88,8 @@ void sendFrame(){
8788
}
8889

8990
void sendCameraConfig(){
90-
Serial.write(RESOLUTION);
9191
Serial.write(IMAGE_MODE);
92+
Serial.write(RESOLUTION);
9293
Serial.flush();
9394
delay(1);
9495
}

0 commit comments

Comments
 (0)
0