Pages: [1]   Go Down
Author Topic: Grove/Seeedstudio Serial LCD help  (Read 1787 times)
0 Members and 1 Guest are viewing this topic.
Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: October 25, 2012, 04:24:42 pm by drewdavis » Logged

Saskatchewan
Offline Offline
Sr. Member
****
Karma: 15
Posts: 345
When the going gets weird, the weird turn pro. - Hunter S. Thompson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What is IIRC?

Thanks,
Drew R. Davis
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31366
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Saskatchewan
Offline Offline
Sr. Member
****
Karma: 15
Posts: 345
When the going gets weird, the weird turn pro. - Hunter S. Thompson
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

IIRC - if I recall correctly

It's probably not installed correctly.
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
  
« Last Edit: October 25, 2012, 08:03:57 pm by drewdavis » Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 508
Posts: 31366
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Western New York, USA
Offline Offline
Faraday Member
**
Karma: 25
Posts: 4108
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Dallas, TX USA
Offline Offline
Edison Member
*
Karma: 47
Posts: 2328
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 554
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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 
Logged

Pages: [1]   Go Up
Jump to: