Commands for serial LCD


Closed Thread
Results 1 to 3 of 3

Hybrid View

  1. #1


    Did you find this post helpful? Yes | No

    Default Re: Commands for serial LCD

    I use the display often here are some lines from my code.

    Code:
    Prefix            con     $FE             ' needed before each command
    LcdCls            CON     $51             ' clear LCD (use PAUSE 5 after)
    CursorPS          con     $45             'Cursor Position
    Backlight         con     $53             ' Backlighting 1-8
    Contrast          con     $52             ' Contrast 1-50
    
    SEROUT2 LCD,84, [Prefix,CursorPS,0, "Print Text Here"]
    pause 2000
    Serout2 LCD, 84, [Prefix,LcdCLS]'Clears screen
    Last edited by Tobias; - 28th February 2012 at 06:09.

  2. #2
    Join Date
    May 2011
    Posts
    42


    Did you find this post helpful? Yes | No

    Default Re: Commands for serial LCD

    Thank you for the help. The issue was with me doing something I should have known not to do. I was using the internal osc at 8 Mhz to run it. I switched to and EC and everything is fine. I thought because of all the text that was showing up fine that everything was good. Another easy lesson learned the hard way. Thanks again for the help.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts