JPEG picture on Kuman 3.5" Color Touchscreen LCD

I was working on connecting the Arducam OV2640 module with Arduino Due and displaying video stream to the Kuman 3.5" Touchscreen LCD. The LCD uses the MCUFRIEND_kbv library. I tried to display the image by storing it to SD card and drawing on the LCD but couldn’t get it to work (refer to link 1). There would be no image displayed.

I tried to incorporate the JpegDecoder by Bodmer library instead of just doing camera → SD → LCD as I was suggested that I need to generate an array for the image before it is displayed. I keep getting this error:

JPEGDecoder.cpp:353:17: error: ‘SD’ was not declared in this scope
File pInFile = pFilename, FILE_READ);
exit status 1
Error compiling for board Arduino Due (Programming Port).

My goal was to display video stream from the camera on to the LCD when I press AND hold a push button and turn off the stream when I let go.

The link to my codes are:

  1. MainCode.ino - Google Drive
  2. jpegDecoderTest.ino - Google Drive

Any help is appreciated.


This topic was automatically closed after 120 days. New replies are no longer allowed.