February 10, 2011
about 4 years ago
When I received my SerLcd, I could only print to the first column of the two rows of my 16x2 serlcd using the normal Serial.print(“Hello”). Only the “o” would show up.
I had to use the following function to set the width to the proper setting:
LCD.print(0x7C, BYTE); //command flag for backlight stuff
LCD.print(0x04, BYTE); //16 chars wide (i.e. 16x2)
The correct value you need to send may differ based on how many columns you have on your device. See the data sheet for the exact value.
No public wish lists :(
Forgot your password?
No account? Register one!