Following tutorial, LCD w/backpack example won't compile

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: Following tutorial, LCD w/backpack example won't compile

Post by adafruit_support_bill »

Aha - the answer to both questions is in the error message:
HelloWorld_i2c:21: error: no matching function for call to 'LiquidCrystal::LiquidCrystal(int)'
C:\Documents and Settings\Administrator\My Documents\Arduino\libraries\LiquidCrystal/LiquidCrystal.h:56: note: candidates are: LiquidCrystal::LiquidCrystal(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t)
"C:\Documents and Settings\Administrator\My Documents\Arduino\libraries\" is your sketchbook library folder

And I suspect you will find an old copy of LiquidCrystal in it.

User avatar
oldfox
 
Posts: 43
Joined: Wed Jan 23, 2013 4:18 pm

Re: Following tutorial, LCD w/backpack example won't compile

Post by oldfox »

Done deal. I went back and undid everything and started by finding where the "sketchbook folder" aka "Arduino" was. Went to github and downloaded the backpack library again and extracted to "Arduino", which is under "My documents". Changed the extension of the file, double clicked it, the IDE opened up, I hit "verify" and it compiled.

Thank you so much for your time and patience. This was all my bad. And you can tell me "RTFT".
I will now continue on with the hardware.

User avatar
oldfox
 
Posts: 43
Joined: Wed Jan 23, 2013 4:18 pm

Re: Following tutorial, LCD w/backpack example won't compile

Post by oldfox »

My new backpack is now working great. I just wish that the contrast pot was just a smidgen larger. I had to take a file to my tweaker.
Thanks again.
(i'm a happy camper)

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

Return to “Other Arduino products from Adafruit”