Why when i upload my code to write : hello world there is numbers on the lcd ans when i try another code for writing something else thers is randome letters going throught the screen instead of the words i put
almo9:
Why when i upload my code to write : hello world there is numbers on the lcd ans when i try another code for writing something else thers is randome letters going throught the screen instead of the words i put
Must be something wrong with the code you didn't post. I suggest that you fix the code.
#include <LiquidCrystal.h>
LiquidCrystal lcd(1, 2, 4, 5, 6, 7);
void setup() {
lcd.begin(16, 2);
// put your setup code here, to run once:
}
void loop() {
lcd.print('arduino');
delay(3000);
lcd.setCursor(2,1);
lcd.print('LCD Tutorial');
delay(3000);
lcd.clear();
lcd.blink();
delay(4000);
lcd.setCursor(7,1);
delay(3000);
lcd.noBlink();
lcd.cursor();
delay(4000);
lcd.noCursor();
lcd.clear();
// put your main code here, to run repeatedly:
} this on for the message with random letter and
#include <LiquidCrystal.h>
LiquidCrystal lcd(12, 11, 5, 4, 3, 2);
void setup() {
lcd.begin(16, 2);
lcd.print('hello, world');
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
} this one for hello world
lcd.print('hello, world');
Oops
lcd.print('arduino');
...
lcd.print('LCD Tutorial');
And again, twice.
Please remember to use code tags when posting code