HiI have a nokia 5110 LCD display and I am having a few problems with it. Just for some background I have a PS2 keyboard connected and I am using the PS2 keyboard library. I have two problemsA. After I type up to fill up the screen, the screen does not clear as it is supposed to, instead i the new text starts from the top and writes over the old text (it removes the old text too). I believe this part of the code is responsible for the clearing

I was thinking about using a Do... While here to clear the screen at the right time, however how would I tell the arduino to clear the screen when it gets to the last pixel on the the last row? In my code gotoxy is the first pixel...