Hi All,
I have been learning to display the word Hello on my new 2 x 16 LCD display with I2C communication.
I have read a number of tutorials and managed to display just the first letter of Hello. It as if the code does not move the cursor after printing the first letter to print the next letter and so on.
I did get it to display them right but then I had to do this;
print.lcd("H");
print.lcd("e");
print.lcd("l");
print.lcd("l:);
print.lcd("o");
So i typed out each letter and printed them separately. This way to much work and it will be a nightmare to break each word up in this way.
Can one of you please be so kind to assist me with this.
This is what my code look like;
#include <Wire.h>
#include <LiquidCrystal_I2C.h>
LiquidCrystal_I2C lcd(0x27,16,2); // set the LCD address to 0x27 for a 16 chars and 2 line display
void setup()
{
- lcd.init(); // initialize the lcd*
- lcd.backlight();*
- lcd.home();*
- lcd.print("Hello");*
}
void loop()
{
- // Print a message to the LCD.*
}