EasyManua.ls Logo

Elegoo Mega2560 - Page 161

Elegoo Mega2560
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
161
lcd.setCursor(0, 0);
lcd.print("Temp C ");
lcd.setCursor(6, 0);
lcd.print(tempF);
The rather strange comment serves to remind you of the 16 columns of the display.
You can then print a string of that length with spaces where the actual reading will
go.
To fill in the blanks, set the cursor position for where the reading should appear and
then print it.
Example picture
/ 223

Table of Contents