Jump to content
chain

LinkSprite 16X2 LCD Keypad Shield for Arduino Version B

Recommended Posts

The product page states "Works perfectly in 4-bit mode with the
"LiquidCrystal" library included with the Arduino IDE." and the readme.txt
file states "Tested on Arduino 0010 Installation"
(2008/01/18)

I cannot get a successful compile using arduino r1.0.5 or 1.5.5. I think
that I followed the instructions as well as I could, considering the
constant changes in the arduino folder structure with each release.
Yes, I did restart the arduino IDE (each rev) after copying the 4Bit_mod
folder.

Any assistance would be appreciated - and I will post your efforts on the
sparkfun product page to assist others.
I will attempt any instruction you send to me. Thank you.

The error list follows - hopefully this listing will answer any question
you may have concerning what I have attempted w.r.t. arduino revisions /
library locations.
R1.5.5
--in hardware\arduino\avr\libraries
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:29:57:
error: WConstants.h: No such file or directory
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::pulseEnablePin()':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58:
error: 'LOW' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58:
error: 'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:59:
error: 'delayMicroseconds' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:61:
error: 'HIGH' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:64:
error: 'delay' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::pushNibble(int)':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:73:
error: 'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::commandWriteNibble(int)':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99:
error: 'LOW' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99:
error: 'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::commandWrite(int)':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106:
error: 'LOW' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106:
error: 'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::print(int)':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118:
error: 'HIGH' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118:
error: 'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:119:
error: 'LOW' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::clear()':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:139:
error: 'delay' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::init()':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146:
error: 'OUTPUT' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146:
error: 'pinMode' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:154:
error: 'delay' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:160:
error: 'delayMicroseconds' was not declared in this scope
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:
In member function 'void LCD4Bit_mod::leftScroll(int, int)':
C:\arduino-1.5.5\hardware\arduino\avr\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:225:
error: 'delay' was not declared in this scope


--in libraries
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:29:57: error:
WConstants.h: No such file or directory
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::pulseEnablePin()':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58: error: 'LOW' was
not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:59: error:
'delayMicroseconds' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:61: error: 'HIGH'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:64: error: 'delay'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::pushNibble(int)':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:73: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::commandWriteNibble(int)':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99: error: 'LOW' was
not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::commandWrite(int)':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106: error: 'LOW'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::print(int)':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118: error: 'HIGH'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:119: error: 'LOW'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::clear()':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:139: error: 'delay'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::init()':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146: error: 'OUTPUT'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146: error:
'pinMode' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:154: error: 'delay'
was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:160: error:
'delayMicroseconds' was not declared in this scope
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member function
'void LCD4Bit_mod::leftScroll(int, int)':
C:\arduino-1.5.5\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:225: error: 'delay'
was not declared in this scope

--in Users\Me\Documents\Arduino\libraries ---- common to 1.0.5 and 1.5.5
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:29:57:
error: WConstants.h: No such file or directory
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::pulseEnablePin()':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58:
error: 'LOW' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58:
error: 'digitalWrite' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:59:
error: 'delayMicroseconds' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:61:
error: 'HIGH' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:64:
error: 'delay' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::pushNibble(int)':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:73:
error: 'digitalWrite' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::commandWriteNibble(int)':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99:
error: 'LOW' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99:
error: 'digitalWrite' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::commandWrite(int)':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106:
error: 'LOW' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106:
error: 'digitalWrite' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::print(int)':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118:
error: 'HIGH' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118:
error: 'digitalWrite' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:119:
error: 'LOW' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::clear()':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:139:
error: 'delay' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::init()':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146:
error: 'OUTPUT' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146:
error: 'pinMode' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:154:
error: 'delay' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:160:
error: 'delayMicroseconds' was not declared in this scope
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In
member function 'void LCD4Bit_mod::leftScroll(int, int)':
C:\Users\Me\Documents\Arduino\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:225:
error: 'delay' was not declared in this scope

R1.0.5
--in libraries
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:29:57: error:
WConstants.h: No such file or directory
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::pulseEnablePin()':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58: error: 'LOW'
was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:58: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:59: error:
'delayMicroseconds' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:61: error: 'HIGH'
was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:64: error:
'delay' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::pushNibble(int)':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:73: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::commandWriteNibble(int)':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99: error: 'LOW'
was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:99: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::commandWrite(int)':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106: error: 'LOW'
was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:106: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::print(int)':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118: error:
'HIGH' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:118: error:
'digitalWrite' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:119: error: 'LOW'
was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::clear()':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:139: error:
'delay' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::init()':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146: error:
'OUTPUT' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:146: error:
'pinMode' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:154: error:
'delay' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:160: error:
'delayMicroseconds' was not declared in this scope
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:174: warning:
suggest parentheses around + or - inside shift
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp: In member
function 'void LCD4Bit_mod::leftScroll(int, int)':
C:\arduino-1.0.5-r2\libraries\LCD4Bit_mod\LCD4Bit_mod.cpp:225: error:
'delay' was not declared in this scope

Share this post


Link to post
Share on other sites
Guest sad customer

You cannot expect EVERYONE to stay with arduino 0021 forever, can you?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×