Shop OBEX P1 Docs P2 Docs Learn Events
cannot access 2nd line of 16x2 lcd (PIC, not BS) — Parallax Forums

cannot access 2nd line of 16x2 lcd (PIC, not BS)

WhelzornWhelzorn Posts: 256
edited 2005-04-27 15:18 in General Discussion
Ok, I have a 16x2 LCD I bought from Jameco. It works great with the BS2, (I had to modify the example code a bit to get it to shift to 2nd line, I'll get back to that) but I cannot seem to get it to shift the cursor to the 2nd line, and it tries to display on the same line (with the PIC). Now, being long pieces of code, I will attach them and just use snippets as I need. The first attachment, LCD4bit.asm is for the PIC. The code came from patna.sancharnet.in/guria741/pic2lcd/pic2lcd.htm (appears to be down ATM). The next piece of code (lcd.bs2) is the BS2 code that works (aka. goes to 2nd line). The PIC code doesn't seem to. I put both in here for comparison, and mabe someone could help me out. I don't have a very firm grip on the assembly for the PIC, so go easy on me smilewinkgrin.gif

Thanks,

Justin W.

Post Edited (Whelzorn) : 4/27/2005 3:21:54 PM GMT
Sign In or Register to comment.