system
December 1, 2009, 4:02pm
#1
Hi everyone,
who can tell me how with the following code:
void setup(){
//set up lcd with #row and #columns
lcd.begin(numR,numC);
lcd.setCursor(0,0);
lcd.print("Gmail Notifier");
lcd.setCursor(2,2);
lcd.print("unread mails");
Serial.begin(9600);
}
some characters don't appear correctly on the LCD.
But commenting on the line
//Serial.begin(9600);
everything works perfectly
thanks in advance
system
December 1, 2009, 4:11pm
#2
It would be helpful to know what (else) you have connected to the Arduino. Is something connected to the TX and/or RX pins?
What happens if you move the Serial.begin statement before the lcd stuff?
system
December 1, 2009, 4:46pm
#3
It would be helpful to know what (else) you have connected to the Arduino. Is something connected to the TX and/or RX pins?
LCD ARDUINO
* RS pin (4) digital pin 12
* Enable pin (6) digital pin 11
* D4 pin (11) digital pin 5
* D5 pin (12) digital pin 4
* D6 pin (13) digital pin 3
* D7 pin (14) digital pin 2
* R/W pin (5) GND
What happens if you move the Serial.begin statement before the lcd stuff?
same behavior. Can anyone try this code?
system
December 1, 2009, 8:44pm
#4
i remember, this was quistioned before.
Just search it up, i dont't remember the whole thread. But it was also about "lcd not work, but commenting out serial works".
lcd.begin(numR,numC);
You've got this backwards.
This is not going to fix your problem since the library will work as long as the value of the second argument (numC in your case) is greater than 1, but I thought you would like to know.
Don