serialLCD problem
Posted: Sun Apr 04, 2010 2:57 pm
I have your 16x2 serial LCD, and am using it with a Mega. I use the sparkfun serialLCD commands listed at arduino.cc. With a serial1.begin(9600) and this code,
76.3 deg F || |||
24.6 deg C || |||
Everything works and updates, but what's with the five lines? They will not go away. If I put spaces clear across, they will wrap back into the display.
Thanks
Code: Select all
I get this output,
void loop() {
// other code
clearLCD;
selectLineOne();
Serial1.print(tempF,1);
Serial1.println(" deg F ");
selectLineTwo();
Serial1.print(tempC,1);
Serial1.println(" deg C ");
delay(500);
}
76.3 deg F || |||
24.6 deg C || |||
Everything works and updates, but what's with the five lines? They will not go away. If I put spaces clear across, they will wrap back into the display.
Thanks