Skip to content

Commit 5eda61d

Browse files
committed
camera: Decrease baud rate for more stability.
1 parent 1632762 commit 5eda61d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: libraries/Camera/examples/CameraCaptureRawBytes/CameraCaptureRawBytes.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void setup() {
6060

6161
void loop() {
6262
if(!Serial) {
63-
Serial.begin(921600);
63+
Serial.begin(115200);
6464
while(!Serial);
6565
}
6666

Diff for: libraries/Camera/extras/CameraRawBytesVisualizer/CameraRawBytesVisualizer.pde

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ final int cameraHeight = 240;
2020
final boolean useGrayScale = true;
2121

2222
// Must match the baud rate in the Arduino sketch
23-
final int baudRate = 921600;
23+
final int baudRate = 115200;
2424

2525
final int cameraBytesPerPixel = useGrayScale ? 1 : 2;
2626
final int cameraPixelCount = cameraWidth * cameraHeight;

0 commit comments

Comments
 (0)