Hello everyone,
I'm trying to create an arduino project in which the LCD display is involved. it is not completed yet, though i began having the first problems with the LCD, and i was wondering if you might understand what's wrong.
Thanks to everyone!
(the part of the code involving the LCD is the one on the left, all the rest works )
TESINA.ino (1.83 KB)
Your Code below:
void setup() {
BT.begin(9600);
Serial.begin(9600);
lcd.begin(16, 2);
lcd.print(" LUCA LEZZI 5A Liceo Primo Levi");
lcd.setCursor (0, 1);
lcd.print ("Temperatura: ");
pinMode(9,OUTPUT);
}
First of all, you are printing out something like 35 characters in the following statement when it can only accept 16:
lcd.print(" LUCA LEZZI 5A Liceo Primo Levi");
Try something like the following to see if it works:
void setup() {
BT.begin(9600);
Serial.begin(9600);
lcd.begin(16, 2);
lcd.print(" LUCA LEZZI 5A");
lcd.setCursor (0, 1);
lcd.print ("Temperatura: ");
pinMode(9,OUTPUT);
}
void loop(){
while(1);
}
I know, i was thinking about making the text scroll...
anyway it does not work, there is still the same interference (if it can be called like this)
do you think it's an hardware or a software problem?
I just tried to use lcd.noDisplay ()
this actually works, since the display turns off, but even after that, I still can't write anything on the right half of the display...
First of all, you are printing out something like 35 characters in the following statement when it can only accept 16:
The LCD controller can accept 80 characters before wrapping and overwriting.
I still can't write anything on the right half of the display...
It is the auxiliary controller that deals with displaying those characters. It looks like your display is faulty.
Don