Hi,
Having trouble trying to verify test code with 7 segment LED and backpack. I am a newbie to programming and Arduino.
I have downloaded and extracted 2 libs as well as test code and put extracted folders in libraries. I am using an Arduino Uno with IDE 1.0.5 this is installed into program files(x68) on a windows 7 PC.
Test file: sevenseg
Libraries: Adafruit_GFX_Library_master (This was renamed from: Adafruit-GFX-Library-master As Arduine IDE does not accept - )
Adafruit_LED_Backpack_Library_master (This was renamed from: Adafruit-LED-Backpack-Library-master As Arduine IDE does not accept - )
The full error I get is below:
C:\Users\Peter\Documents\Arduino\libraries\Adafruit_LED_Backpack_Library_master\Adafruit_LEDBackpack.cpp: In constructor 'Adafruit_8x8matrix::Adafruit_8x8matrix()':
C:\Users\Peter\Documents\Arduino\libraries\Adafruit_LED_Backpack_Library_master\Adafruit_LEDBackpack.cpp:92: error: no matching function for call to 'Adafruit_GFX::Adafruit_GFX(int, int)'
C:\Users\Peter\Documents\Arduino\libraries\Robot_Control/Adafruit_GFX.h:41: note: candidates are: Adafruit_GFX::Adafruit_GFX(const Adafruit_GFX&)
C:\Users\Peter\Documents\Arduino\libraries\Robot_Control/Adafruit_GFX.h:41: note: Adafruit_GFX::Adafruit_GFX()
C:\Users\Peter\Documents\Arduino\libraries\Adafruit_LED_Backpack_Library_master\Adafruit_LEDBackpack.cpp: In constructor 'Adafruit_BicolorMatrix::Adafruit_BicolorMatrix()':
C:\Users\Peter\Documents\Arduino\libraries\Adafruit_LED_Backpack_Library_master\Adafruit_LEDBackpack.cpp:128: error: no matching function for call to 'Adafruit_GFX::Adafruit_GFX(int, int)'
C:\Users\Peter\Documents\Arduino\libraries\Robot_Control/Adafruit_GFX.h:41: note: candidates are: Adafruit_GFX::Adafruit_GFX(const Adafruit_GFX&)
C:\Users\Peter\Documents\Arduino\libraries\Robot_Control/Adafruit_GFX.h:41: note: Adafruit_GFX::Adafruit_GFX()
I have tried commenting out the to libs in the code and get: sevenseg:33: error: 'Adafruit_7segment' does not name a type
sevenseg.ino: In function 'void setup()': sevenseg:40: error: 'matrix' was not declared in this scope sevenseg.ino: In function 'void loop()': sevenseg:45: error: 'matrix' was not declared in this scope
I hope I am not having a stupid attack and I have tried reading around your site first.
Thanks Pete.
Loading libs for LED and Backpack HT16K33
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- adafruit_support_rick
- Posts: 35092
- Joined: Tue Mar 15, 2011 11:42 am
Re: Loading libs for LED and Backpack HT16K33
This looks like the Good Ol' Robot Control problem. It's a bug in Arduino 1.0.5. You'll want to drop back and install Arduino 1.0.4.
Also, we have a tutorial on installing libraries. You don't need the "_master". I usually rename the library folder to match the name of the .cpp file inside of it.
http://learn.adafruit.com/adafruit-all- ... nstall-use
Also, we have a tutorial on installing libraries. You don't need the "_master". I usually rename the library folder to match the name of the .cpp file inside of it.
http://learn.adafruit.com/adafruit-all- ... nstall-use
Please be positive and constructive with your questions and comments.