- Fri May 14, 2010 7:50 am
#100943
Hi guys.
Bought a 20x4 Serial LCD yesterday to replace a 16x2 in a small Arduino project of mine but I'm not able to get anything out of the display.
All of this works with the 16x2.
I see the splash screen so I know the display works and I can see the backlight come one when a sketch is uploaded. However, when I send print commands nothing is displayed.
I'm using the very simple sketch below to try and debug the issue. I have considered a reset of the display as per the datasheet but being new to much of this I'm a little confused as to how I should enter the provided reset commands when its hooked up via an Arduino board.
Any help appreciated. Got a bunch of Sparkfun stuff, proto-board, danger shield, RTC and two serial LCDs and this is the first one that has me stumped!
Bought a 20x4 Serial LCD yesterday to replace a 16x2 in a small Arduino project of mine but I'm not able to get anything out of the display.
All of this works with the 16x2.
I see the splash screen so I know the display works and I can see the backlight come one when a sketch is uploaded. However, when I send print commands nothing is displayed.
I'm using the very simple sketch below to try and debug the issue. I have considered a reset of the display as per the datasheet but being new to much of this I'm a little confused as to how I should enter the provided reset commands when its hooked up via an Arduino board.
Any help appreciated. Got a bunch of Sparkfun stuff, proto-board, danger shield, RTC and two serial LCDs and this is the first one that has me stumped!
Code: Select all
#include <NewSoftSerial.h>
NewSoftSerial sLCD = NewSoftSerial(3, 14); /* Serial LCD is connected on pin 14 (Analog input 0) */
void setup() {
sLCD.begin(9600); /* Setup serial LCD and clear the screen */
sLCD.print(0xFE, BYTE);
sLCD.print(0x01, BYTE);
sLCD.print("Hello");
}
void loop() {}