SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By doctor_speed
#104071
Hi,

I have the "Serial Graphic LCD 128x64" connected to an Arduino, but I can't seem to get it to produce any normal characters. This LCD uses the Graphic LCD Serial Backpack to interface to the 128X64 LCD.

The board is connected okay and responds to input consistently, it's just that I think I'm using it wrong.

Does anyone have any 'hello world' code for the Arduino that gets the "Serial Graphic LCD 128x64" to produce correct results?

I see some code around on the net that uses special libraries (e.g. NewSerial.h) but I'd like to stick to the stock Arduino setup if possible.

Thanks,
DS
By stuart007
#141240
Hi Guys

How do you pass special commands to this LCD. The "Graphic LCD Serial Backpack Datasheet" says you can pass special commands, like 0x7C 0x00 to clear screen for example.

Just not sure how this is done in the arduino code...
By fll-freak
#141307
DANGER DANGER. Using the Rx and Tx lines is fine in a finished system. But if you are using the Arduino's USB port to program, all those funky bytes go to the LCD as well. You risk changing the configuraiton of the LCD in such a way as you can no longer talk to it easily. Simple solution is to disconnect the LCD before each time you program it. Adding a switch in the data lines makes it simpler. Or learn to use the softserial library to use digital pins to bit bang the serial.