Partially clean a LCDScreen I have connected an 16x2 LCD to my Arduino. It shows my Room Temperature and Behind that variable is the string "Celcius". Everytime the temp is diffrent than shown on the screen it updates the screen by clearing the screen. 
Is there a way I could clear just a part of the screen? or is this technically impossible. Or is it a waste of code? :D

Thanks in Advance!

Anton
The easiest is to clear the entire screen (I'm sure there is a function for that).

What you also can do:


Create lines which are 16 characters wide and print them, so the old text is overwritten
More complicated: store the text that is written in two strings (one per line) and check where are not spaces, to overwrite it with spaces to clear.


You would have to do a performance/time check to see what works best.

If performance is not an issue (which I doubt), keep it simple and just overwrite the two lines (without a clear, assuming you call the clear function yourself).

Another solution is to keep the word Celcius always on the same location... this means you might have to change formatting:


_28.6 Celcius 
__3.8 Celcius 
_-12.3 Celcius


Where _ are spaces (so the word Celcius is always on the same location)