I bought a Grove starter bundle about a year ago. I got busy working on some of my robots (not Arduino) and have not gotten to use the LCD yet. I can not figure out how to get the LCD display to work. I have little experience with the Arduino. The wiki seems extremely outdated and I need some help. Link to wiki…. (I have the middle LCD display)
Also, when I try to verify the "HelloWorld" program this is what I get …
HelloWorld.pde:-1: error: 'SerialLCD' does not name a type
HelloWorld.cpp: In function 'void setup()':
HelloWorld.pde:-1: error: 'slcd' was not declared in this scope
HelloWorld.cpp: In function 'void loop()':
HelloWorld.pde:-1: error: 'slcd' was not declared in this scope
I have the newest version of the library, and I have the newest version of the Arduino programing software.
But the library you are using was not provided with the Arduino programming software (IDE) and although it is the 'newest' it probably isn't new enough.
What can I do?
You could start by searching for the phrase you are getting in your error message such as "was not declared in this scope" or "does not name a type". Note that I left out the part that contains the name of the library in order to widen the search.
The errors you have show so far indicative of the library not being installed.
My guess is that the library still isn't correctly installed.
(The SerialLCD HelloWorld sketch builds just fine for me using Arduino 1.0.1)
drewdavis:
6. Then I went to "open program" and navigated into "libraries" went into the "SerialLCD" subfolder and opened up the example "hello world"
Try getting to the example this way:
[File]->Examples->SerialLCD->HelloWorld
If you don't see "SerialLCD" showing up in the list of examples,
the SerialLCD library is not properly installed.