Jump to content


Photo

LinkSprite 16X2 LCD Keypad Shield for Arduino Version B


  • Please log in to reply
4 replies to this topic

#1 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 09 April 2014 - 02:07 AM

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



#2 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 09 April 2014 - 02:13 AM

I tested the library in Arduino IDE 0021 , it done compiling.



#3 Guest_sad customer_*

Guest_sad customer_*
  • Guests

Posted 09 April 2014 - 10:51 AM

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



#4 chain

chain

    Advanced Member

  • Members
  • PipPipPip
  • 756 posts

Posted 10 April 2014 - 06:26 AM

Please find the new library from: http://linksprite.co...duino#Resources



#5 Guest_user_*

Guest_user_*
  • Guests

Posted 10 April 2014 - 10:11 AM

this does compiler with 1.0.5 and 1.5.5

thank you






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users