Due to high demand expect some shipping delays at this time, orders may not ship for 1-2 business days.
0

CLUE- error while arcada
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

CLUE- error while arcada

by Vstudio_LAB on Wed Apr 08, 2020 8:36 am

Hi. i can't compile the arcada library with the exemple code in arduino IDE

In file included from D:\Documents\Arduino\libraries\arduino_203858/Adafruit_Arcada.h:21:0,

from D:\Documents\Arduino\libraries\arduino_203858\examples\graphicstest\graphicstest.ino:1:

D:\Documents\Arduino\libraries\arduino_203858/Boards/Adafruit_Arcada_Clue.h: In member function 'virtual bool Adafruit_Arcada::variantBegin()':

D:\Documents\Arduino\libraries\arduino_203858/Boards/Adafruit_Arcada_Clue.h:37:12: error: 'class Adafruit_Sensor' has no member named 'printSensorDetails'

accel->printSensorDetails();

^~~~~~~~~~~~~~~~~~

D:\Documents\Arduino\libraries\arduino_203858\examples\graphicstest\graphicstest.ino: In function 'void setup()':

D:\Documents\Arduino\libraries\arduino_203858\examples\graphicstest\graphicstest.ino:22:397: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]

testdrawtext("Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur adipiscing ante sed nibh tincidunt feugiat. Maecenas enim massa, fringilla sed malesuada et, malesuada sit amet turpis. Sed porttitor neque ut ante pretium vitae malesuada nunc bibendum. Nullam aliquet ultrices massa eu hendrerit. Ut sed nisi lorem. In vestibulum purus a tortor imperdiet posuere. ", ARCADA_WHITE);

Vstudio_LAB
 
Posts: 4
Joined: Mon Mar 09, 2020 5:43 pm

Re: CLUE- error while arcada

by dastels on Wed Apr 08, 2020 11:13 am

The first step is to make sure you have everything up to date: Arduino IDE, board support, and libraries. It looks likely that you have a mix of newer and older libraries.

Dave

dastels
 
Posts: 7900
Joined: Tue Oct 20, 2015 3:22 pm

Re: CLUE- error while arcada

by Vstudio_LAB on Thu Apr 09, 2020 5:27 am

Hi! I updated all the libraries, but still not compilling...


In file included from D:\Documents\Arduino\libraries\Adafruit_Arcada_Library/Adafruit_Arcada.h:21:0,

from D:\Documents\Arduino\libraries\Adafruit_Arcada_Library\examples\full_board_tests\arcada_clue_test\arcada_clue_test.ino:1:

D:\Documents\Arduino\libraries\Adafruit_Arcada_Library/Boards/Adafruit_Arcada_Clue.h: In member function 'virtual bool Adafruit_Arcada::variantBegin()':

D:\Documents\Arduino\libraries\Adafruit_Arcada_Library/Boards/Adafruit_Arcada_Clue.h:37:12: error: 'class Adafruit_Sensor' has no member named 'printSensorDetails'

accel->printSensorDetails();

Vstudio_LAB
 
Posts: 4
Joined: Mon Mar 09, 2020 5:43 pm

Re: CLUE- error while arcada

by dastels on Thu Apr 09, 2020 8:36 am

I've seen others who have had multiple versions of the sensor library on their drive. Turn on all warnings in the prefs, and look at the output for warning of finding multiple alternatives. If that's the problem, it could be picking up an old/wrong one, leading to the missing method error.

Dave

dastels
 
Posts: 7900
Joined: Tue Oct 20, 2015 3:22 pm

Re: CLUE- error while arcada

by Vstudio_LAB on Thu Apr 09, 2020 9:03 am

That was that! problem solved!

Vstudio_LAB
 
Posts: 4
Joined: Mon Mar 09, 2020 5:43 pm

Re: CLUE- error while arcada

by dastels on Thu Apr 09, 2020 9:17 am

Yay!

dastels
 
Posts: 7900
Joined: Tue Oct 20, 2015 3:22 pm

Please be positive and constructive with your questions and comments.