Arduino and LCD0821 problem.

Hi guys, I just got a MatrixOrbital display (similar to the one used in this example: here’s a link to the manual:

I’ve completed the wiring and have used the following code:

// Arduino and LCD setup 
#include <SoftwareSerial.h>
  SoftwareSerial mySerial=SoftwareSerial(6,7);
  //backlightOn(0);  // turn the backlight on all the time
void setup()
    pinMode(6, INPUT);
  pinMode(7, OUTPUT);


void loop()
  // print text to the current cursor position
  // start a new line

// clear the LCD
void clearLCD(){
  mySerial.print(254, BYTE);
  mySerial.print(88, BYTE);

// start a new line
void newLine() { 
  mySerial.print(10, BYTE); 

The problem is that instead of “Hello” the display just shows some random gibberish. I have tried resetting the display to its factory settings but no joy. Any ideas?

SoftwareSerial is obsolete. Try using NewSoftSerial instead. Or the hardware serial port/software.