Problem compiling example 8x8 LED matrix backpack sketch

Post here about your Arduino projects, get help - for Adafruit customers!

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by pburgess »

MasterErik: have you downloaded and installed the Adafruit_GFX library in addition to Adafruit_LEDBackpack?

If not, you can fetch that here: https://github.com/adafruit/Adafruit-GFX-Library

If yes, and if you're still encountering these error messages, delete (or archive) the Robot_Control library, located here:
C:\Program Files\Arduino\libraries\Robot_Control

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by adafruit_support_rick »

Have you installed the Adafruit_GFX library?
https://github.com/adafruit/Adafruit-GFX-Library

User avatar
Kosmas
 
Posts: 3
Joined: Mon Oct 13, 2014 1:05 pm

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by Kosmas »

Hello, I got the HT16K33 breakout kit and tried to compile it with the libraries Adafruit_GFX and Adafruit_LEDBackpack. I downloaded the libraries today (2014-10-13).

When I try to run Example -> Adafruit_LEDBackpack -> HT16K33, I get the same errors as the thread starter:
no matching function for call to 'Adafruit_GFX::Adafruit_GFX(int, int).

Is the library broken again?

Thanks, Kosmas

User avatar
Kosmas
 
Posts: 3
Joined: Mon Oct 13, 2014 1:05 pm

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by Kosmas »

Hello, I got it working! It was the problem with Arduino 1.0.5 - I just deleted Robot_Control in the library and now it works! :-)

User avatar
il_dega
 
Posts: 1
Joined: Sun Nov 16, 2014 2:15 pm

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by il_dega »

Same problem... Win7, both libraries are installed (correctly, in documents/arduino/libraries/), and renamed as readme.txt file explains.
I tried to delete both Robot_Control and Robot_Motor in programs(x86)/arduino/libraries.
I have installed both Arduino IDE 1.0.5 and 1.5.5, and example codes work with none...
And further suggestion?
I have many libraries installed (Adafruit GPS, NeoPixel, TinkerKit, DHT22, AndroidAccessory and a couple I've written by myself). Could any of those interfere?
errors.JPG
errors.JPG (85.53 KiB) Viewed 350 times

User avatar
Kosmas
 
Posts: 3
Joined: Mon Oct 13, 2014 1:05 pm

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by Kosmas »

Hi,
just look in your library directories whether there are another versions of the file "Adafruit_GFX.h". If so, try to delete or remove the directories.
Kosmas

User avatar
adafruit_support_rick
 
Posts: 35092
Joined: Tue Mar 15, 2011 11:42 am

Re: Problem compiling example 8x8 LED matrix backpack sketch

Post by adafruit_support_rick »

This is a conflict between the current Adafruit_GFX library and the one that comes with the Arduino IDE. If you have the current Adafruit_GFX installed in your libraries directory, it will supersede the one that comes with the IDE

Locked
Please be positive and constructive with your questions and comments.

Return to “Arduino”