You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does not compile with Arduino Due. Tried with 2.09 and 2.04. Below is error message.
In file included from ...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:14:0,
from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.h:11,
from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:9:
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam/ArducamCamera.h:30:14: error: multiple types in one declaration
#define Bool char
^
...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\system/libsam/include/USB_device.h:74:33: note: in expansion of macro 'Bool'
typedef unsigned char Bool; //!< Boolean.
^
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam/ArducamCamera.h:30:14: error: declaration does not declare anything [-fpermissive]
#define Bool char
^
...\AppData\Local\Arduino15\packages\arduino\hardware\sam\1.6.12\system/libsam/include/USB_device.h:74:33: note: in expansion of macro 'Bool'
typedef unsigned char Bool; //!< Boolean.
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp: In member function 'void ArducamLink::reportVerInfo(Arducam_Mega*)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:30:32: error: 'struct ArducamCamera' has no member named 'verDate'
Serial.write(cameraInstance->verDate,3);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp: In member function 'void ArducamLink::cameraGetPicture(Arducam_Mega*)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\ArducamLink.cpp:77:35: error: 'struct ArducamCamera' has no member named 'cameraDataFormat'
arducamUartWrite(cameraInstance->cameraDataFormat);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'uint8_t readBuffer(uint8_t*, uint8_t)':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:31:21: error: 'arducamDelayMs' was not declared in this scope
arducamDelayMs(1);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'void setup()':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:127:41: error: no matching function for call to 'Arducam_Mega::registerCallBack(uint8_t (&)(uint8_t*, uint8_t), int)'
myCAM.registerCallBack(readBuffer, 200);
^
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:127:41: note: candidate is:
In file included from ...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:9:0:
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:308:10: note: void Arducam_Mega::registerCallBack(BUFFER_CALLBACK, uint8_t, STOP_HANDLE)
void registerCallBack(BUFFER_CALLBACK, uint8_t, STOP_HANDLE);
^
...\Documents\Arduino\libraries\Arducam_Mega\src/Arducam_Mega.h:308:10: note: candidate expects 3 arguments, 2 provided
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino: In function 'void loop()':
...\AppData\Local\Temp\.arduinoIDE-unsaved2023115-55804-1fn6mg4.tnx2\full_featured\full_featured.ino:133:21: error: 'arducamDelayMs' was not declared in this scope
arducamDelayMs(5);
^
exit status 1
Compilation error: 'struct ArducamCamera' has no member named 'verDate'
The text was updated successfully, but these errors were encountered:
Does not compile with Arduino Due. Tried with 2.09 and 2.04. Below is error message.
The text was updated successfully, but these errors were encountered: