Hello I recent purchased this screen http://www.sainsmart.com/sainsmart-iic-i2c-twi-serial-2004-20x4-lcd-module-shield-for-arduino-uno-mega-r3.html
I have the screen somewhat working using the LiquidCrystal_I2C Library. It is connected to a Arduino Mega 2560 and the SDA and SCL pins are connected to the SDA and SCL on the Mega. However when I use the following code
LiquidCrystal_I2C lcd(0x27,20,4); // set the LCD address to 0x27 for a 20 chars and 4 line display
lcd.init(); // initialize the lcd
// Print a message to the LCD.
It only prints out the first character of the phrase. I have tried a different phrase and it does the same thing. Prints "H"
Is the problem with the Library.
Any help appreciated Thanks
I have been having the same problem. A character prints in place of what would be the 2nd character in the string that appears to look like 3 stacked lines (like some “menu” icons.)
I opened and read the LCD (ect) .H file. and found the calls that can be made. I tried inserting lcd.clear, lcd.blink, lcd.home, etc. and all seem to work.
I can move the cursor around on the display but cannot. Println seems to cause the line to move to the next down. But nothing about this makes any sense. I got this display from Amazon as a replacement for the first one I got from them that behaved exactly the same. I am new to Arduino but have lots of prior BASIC experience am not frighten by technology. Finding a solution to this is not a life or death matter. I am just tenacious when confronted by something that doesn’t work right.
Any hints for a solution would be appreciated