Go Down

Topic: Need a better way to slow down input to lcd other then delay() (Read 975 times) previous topic - next topic


noobdude

Thanks guys! sending lcd.print(" ") to the right spot when temp is less than 100 is working. :)

I'm not near lappy but if anyone is still interested I can post code. 

noobdude

A very cool member pointed out a much better way to do it. Simply clear where the extra character would be every time temp is printed. Looks great.

     lcd.setCursor(19, 4);
     lcd.print(" ");
     lcd.setCursor(17, 4);
     lcd.print(temp);

NICE!


UKHeliBob

What I actually had in mind was

Code: [Select]
     lcd.setCursor(17, 4);
     lcd.print(temp);
     lcd.print(" ");

No need to position the cursor before printing the space. This will work as long as temp has 2 or 3 digits.
Please do not send me PMs asking for help.  Post in the forum then everyone will benefit from seeing the questions and answers.


Go Up