error on serial lcd version 0.9

I have tried all the examples of the serial lcd (slcd) and none of them work. I guess I must have the wrong header files include files (serialLCD.h and serialLCD.cpp and SoftwareSerial.h and SoftwareSerial.cpp)

Has anyone beein able to use the serial LCD and got it working, I have connected it to pin 11 and 12

The compiling errors I get are as follows:

In file included from C:\arduino-1.0.3\libraries\SerialLCD/SerialLCD.h:39, from slcdHelloWorld.ino:26:
C:\arduino-1.0.3\libraries\SerialLCD/SoftwareSerial.h:95: error: conflicting return type specified for ‘virtual void SoftwareSerial::write(uint8_t)’
C:\arduino-1.0.3\hardware\arduino\cores\arduino/Print.h:48: error: overriding ‘virtual size_t Print::write(uint8_t)’

Thank you

// Ok I’ve got it 97 % working

// I have done all the Serial LCD examples and all work except the one below

/* ±--------------+
| SKETCH HEADER |
±--------------+ /
/
Sketched by: A. G. Student
Sketch name: BacklightAndPower
Revision: # 1.0 Date: / / */

/* ±-------------------+
| SKETCH DESCRIPTION |
±-------------------+ /
/
SerialLCD Library - Cursor

Demonstrates the use a 16x2 LCD SerialLCD driver from Seeedstudio.

This sketch prints “Hello World!” to the LCD and
uses the cursor() and noCursor() methods to turn
on and off the cursor.

Library originally added 16 Dec. 2010 by Jimbo.we
Library modified 15 March,2012 by Frankie.Chu
seeedstudio.com
I wish to compliment Jimbo We and Frankie Chu for the well designed Serial LCD board, and all the ones involved in the creation of the libraries and the examples without that wealth of information it would have been impossible to get it working*/

/* ±----------------+
| SKETCH INCLUDES |
±----------------+ */
// include the library code:
#include <SerialLCD.h>
#include <SoftwareSerial.h> //this is a must

// initialize the library
SerialLCD slcd(11,12);//this is a must, assign soft serial pins

/* ±-------------+
| SKETCH SETUP |
±-------------+ */
void setup()
{
Serial.begin(9600);
// set up
slcd.begin();
// Print a message to the LCD.
slcd.print(“hello, world!”);
}

/* ±------------+
| SKETCH LOOP |
±------------+ */
void loop()
{
// Turn off the cursor:
slcd.noCursor();
Serial.println(“No cursor”);
delay(1000);
slcd.noBacklight();
Serial.println(“No Backlight”); //this line causes no visual effect
// Turn on the cursor:
slcd.cursor();
Serial.println(“Cursor”);
delay(1000);
slcd.backlight();
Serial.println(“Backlight”); //nor does this one turn on the backlight
delay(1000);
slcd.noPower();//power off
Serial.println(“No Power”);
delay(500);
slcd.Power(); //I added this line to see if it solved the problem and it did
Serial.println(“Power”);
//after power off,LCD should be initialized again.
// slcd.begin(); // this line hanged the program. once I commented it, the problem disappeared
Serial.println(“Begin”);
slcd.print(“hello, world!”);
Serial.println(“Hello World”);
}

Hi,i can run it well by default,maybe your libraries is defective.

Try the following attachment.
SerialLCD.zip (13.2 KB)

Today have got the Grove Base Shield and some modules for it. I’m still a newbie, so there are some things which I’m not sure in. Is it possible to use some sensors on Grove and some stuff on the breadboard (as LED or something like this) at the same time? Fox example, if the digital pin 10 in the center of the Base Shield isn’t used, can I use the pin 10 at the edge of the shield to connect it to the breadboard? And can I normally use the 5V and GND when some sensors are plugged into the shield?

Hi,

Yes,It is possible to use grove and some sensors in breadboard simultaneously but make sure same pin is not used more than once.

Yes ,the 5V and GND can be normally used.

Thank you