Hi, The way I normally do this is to specify the curser location. On a 2*16, the top line starts at 0x80 and the second line starts at 0xC0 so if you want to write at position 8 send an instuction 0xC8 Trust this helps, Dave ----------------------------Snip--------------------------- > I am new to using LCD's. I am currently interfacing, via 4 line interface, > a 16f84a and LCD using the Hitachi 44780 controller, 2x16 configuration. > > I have most of the code working for display except one part. That part will > be the question to follow. > > The display will look like the following: > > Line one text is static > Line two Prompt: _ _ _ > > Where _ _ _ is variable numeric information, 3 positions. > > My code displays the line one static information and the line two prompt, > positioning the cursor ready for the variable information. Once I display > the 3 char vari. Info., I am having a problem getting it back the four > spaces to overwrite those characters with new information. > > I have tried to shift the cursor back three, that leaves the first character > of previous info displaying. Went back four then forward one, but have some > glitch making that work. > > Any suggestions? I probably missed, or misunderstood a command available > with the controller, but not sure where or what. > -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu