Go Down

Topic: Arduino DUE + 3.2" TFT LCD no matching function for call to 'Adafruit_GFX (Read 685 times) previous topic - next topic

Field88

I've downloaded all these 3 files (http://www.elechouse.com/elechouse/index.php?main_page=product_info&products_id=2217) and put them in my library like I should. I also have the newest Arduino Programming Software 1.5.5.
But when I load the example(tft_hx8352_grapics) and want to download it to my Arduino DUE, these Errors were shown.
 
Arduino: 1.5.5-r2 (Windows 7), Board: "Arduino Due (Programming Port)"
\libraries\tft_shield_master\tftlib.cpp: In constructor 'TFTLCD::TFTLCD()':
\libraries\tft_shield_master\tftlib.cpp:8: error: no matching function for call to 'Adafruit_GFX::Adafruit_GFX()'
\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:17: note: candidates are: Adafruit_GFX::Adafruit_GFX(int16_t, int16_t)
\libraries\Adafruit_GFX_Library/Adafruit_GFX.h:13: note:  Adafruit_GFX::Adafruit_GFX(const Adafruit_GFX&)
\libraries\tft_shield_master\tftlib.cpp: In member function 'void TFTLCD::begin()':
\libraries\tft_shield_master\tftlib.cpp:40: error: 'constructor' was not declared in this scope

Maybe someone else had this problem also once, or know what to do and can help me?
Thank you very much!

MarkT

Not surprising really as someone's removed the constructor.
[ I won't respond to messages, use the forum please ]

Field88


Not surprising really as someone's removed the constructor.


Sorry I'm a newbie, what does that mean or better: how can I solve this problem?

Thank you!

Go Up