Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
SimpleMethod authored Apr 19, 2021
1 parent dbdcf17 commit 18c9b98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ Recommended use only grayscale during decode JPEG to greyscale libjpeg allocate


# 📚 Example use

uint16_t bufferPointer = 0;
uint8_t headerFound = 0;
unsigned long imageSize = 0;
uint8_t *imageBuffer = NULL;
//================================
memset(frameBuffer, 0, sizeof frameBuffer);
OV2640_CaptureSnapshot((uint32_t) frameBuffer, imgRes);
while (1) {
Expand Down

0 comments on commit 18c9b98

Please sign in to comment.