Go Down

Topic: Grove/Seeedstudio Serial LCD help (Read 2577 times) previous topic - next topic

Drew Davis

Oct 25, 2012, 10:56 pm Last Edit: Oct 25, 2012, 11:24 pm by drewdavis Reason: 1
Hello,

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)

http://www.seeedstudio.com/wiki/Grove_-_Serial_LCD

Here is what I need help on…

1. What library do I need?

2. Could somebody provide me with a basic sketch? Perhaps one that makes it say "hello world".

Any help would be appreciated ,
Drew R. Davis

Jimmy60

I had no problems using the one linked to on that page under the important note. They call it the unified library.

IIRC it has some good samples.


Drew Davis

What is IIRC?

Thanks,
Drew R. Davis

Drew Davis

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


Does it matter that I use a mac?


Thanks,
Drew Davis

Grumpy_Mike

Quote
Does it matter that I use a mac?

No.

Looks like your libaries are not installed or are not compatable with the version of IDE you are running.

Jimmy60

IIRC - if I recall correctly

It's probably not installed correctly.

Drew Davis

#6
Oct 26, 2012, 03:01 am Last Edit: Oct 26, 2012, 03:03 am by drewdavis Reason: 1
First off, thank you helping me.

Now onto how I installed it…

1. I downloaded the zip file "SerialLCD"

2. My Mac auto unzipped "SerialLCD"  

3. I dragged the unzipped folder "SerialLCD" (with all of it's contents) to "libraries" in my "arudino-1.0.1 folder"

4. I closed the folder

5. I started the Arduino programing (should be the newest version)

6. Then I went  to "open program"  and navigated into "libraries" went into the "SerialLCD"  subfolder and opened up the example "hello world"

7. I tried to verify and got the error codes I listed

Could you please tell me where I went wrong.


Thanks,
Drew R. Davis
 

Grumpy_Mike

Quote

or are not compatable with the version of IDE you are running.

Drew Davis

I have the newest version of the library, and I have the newest version of the Arduino programing software.

What can I do?

I would really like to use my LCD screen.

Thanks,
Drew Davis


floresta

Quote
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.

Quote
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.

Don

Drew Davis

I have searched everywhere and did not find anything. Posting on this forum was my last resort.

Could I use a library for a different LCD display?

bperrybap

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)



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.

--- bill

Drew Davis

Your right it was not installed correctly. I had it in a different Arduino folder.

Thanks for the test to see if a library is installed correctly!!!

Also, thanks to all the people who helped me resolve the issue!!!


Thanks again,
Drew Davis 

Go Up