Error in the code please help

can you help me the error is the #error please select line a t the end

#endif`#include <Wire.h>
#include <ArduCAM.h>
#include <SPI.h>
#include <SD.h>
// #include "memorysaver.h"
//This demo can only work on OV5640_MINI_5MP_PLUS or OV5642_MINI_5MP_PLUS platform.
#if !(defined (OV2640_MINI_2MP_PLUS))

#error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file

Arduino: 1.8.16 (Windows 10), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"

ArduCAM_Mini_2MP_Plus_Multi_Capture2SD:31:2: error: #error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file

#error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file

^~~~~

Multiple libraries were found for "ArduCAM.h"

Used: C:\Users\Jlo\Documents\Arduino\libraries\ArduCAM

Not used: C:\Users\Jlo\Documents\Arduino\libraries\Arducam_mini

Not used: C:\Program Files (x86)\Arduino\libraries\ArduCAM

exit status 1

#error Please select the hardware platform and camera module in the ../libraries/ArduCAM/memorysaver.h file

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Have you done that?

I moved your topic to an appropriate forum category @larenzia93.

In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.

This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum" guide. The guide contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

how do i do that

I'm going to take a stab in the dark, and suggest you look in your libraries/ArduCAM/memorysaver.h file

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.