Arduino and "Graphic LCD Serisl Backpack"

Your source for all things Atmel.

Moderator: phalanx

Post Reply
bullethole
Posts: 18
Joined: Thu Aug 12, 2010 2:14 pm

Arduino and "Graphic LCD Serisl Backpack"

Post by bullethole » Thu Aug 12, 2010 6:18 pm

I have an Arduino MEGA board and I'm trying to get the 160x128 serial LCD backpak. I have RX on the LCD connected to TX1 on the Mega. When I power up the LCD, I get the little logo, followed by 115200 (according to the data sheet this means that it saw some characters sent on power up and reset to 115200), but I've not sent anything. The display just sends garbage. I've written this simple sketch which should clear the screen.

uint8_t reset[]={0x7C,0x00};
void setup()
{
Serial.begin(9600);
Serial.println("FOO");
Serial1.begin(115200);
Serial1.write(reset,2);


}

void loop()
{

}

Any thoughts on why this would not work. I've also tried the "Serial LCD" library demo code to no avail connecting RX on the display to Pin 22 and setting Pin22 to output

Post Reply