Following tutorial, LCD w/backpack example won't compile
Moderators: adafruit_support_bill, adafruit

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

by adafruit_support_bill on Fri Mar 29, 2013 3:09 pm

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
adafruit_support_bill
 
Posts: 31050
Joined: Sat Feb 07, 2009 10:11 am

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

by oldfox on Fri Mar 29, 2013 3:23 pm

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.
oldfox
 
Posts: 41
Joined: Wed Jan 23, 2013 4:18 pm

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

by oldfox on Fri Mar 29, 2013 3:34 pm

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)
oldfox
 
Posts: 41
Joined: Wed Jan 23, 2013 4:18 pm