Browse Source

Update example to place frame buffer in PSRAM (#648)

ESP32 failed to start the example
pull/654/head
Me No Dev 1 year ago committed by GitHub
parent
commit
bae46be5eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      examples/camera_example/main/take_picture.c

1
examples/camera_example/main/take_picture.c

@ -125,6 +125,7 @@ static camera_config_t camera_config = {
.jpeg_quality = 12, //0-63, for OV series camera sensors, lower number means higher quality .jpeg_quality = 12, //0-63, for OV series camera sensors, lower number means higher quality
.fb_count = 1, //When jpeg mode is used, if fb_count more than one, the driver will work in continuous mode. .fb_count = 1, //When jpeg mode is used, if fb_count more than one, the driver will work in continuous mode.
.fb_location = CAMERA_FB_IN_PSRAM,
.grab_mode = CAMERA_GRAB_WHEN_EMPTY, .grab_mode = CAMERA_GRAB_WHEN_EMPTY,
}; };

Loading…
Cancel
Save