Newbee How to get LCD to display 4-6 var words


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2006
    Posts
    35

    Default Newbee How to get LCD to display 4-6 var words

    This is the file that will run the 16x2 LCD that comes with my development board What do I need to integrate this into a program to output 4 to 6 var words two at a time. 16F877 Thanks Again all for putting up with my ignorance!

    DEFINE LCD_DREG PORTD
    DEFINE LCD_DBIT 4
    DEFINE LCD_RSREG PORTD
    DEFINE LCD_RSBIT 2
    DEFINE LCD_EREG PORTD
    DEFINE LCD_EBIT 3
    DEFINE LCD_BITS 4
    DEFINE LCD_LINES 2

    LCDOUT $FE,1," var word stuff here "
    LCDOUT $FE,$C0," var word bla here "
    etc.

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    LCDOUT $FE,1,DEC Word1,$FE,$C0,DEC Word2,DEC Word3,..
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Jun 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    I'll give it a shot, Makes sense but I don't know how you do it! (know all this stuff that is) Thanks much dude! Emmett

  4. #4
    Join Date
    Jun 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Very cool, works excellent! One more proclamation of my ignorance. How do I put a space between the digits? Tried putting an actual space everywhere but it only works in the text. Thanks again for your time

  5. #5
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    simple as LCDOUT $fe,1,DEC Var1," ",Dec var2
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  6. #6
    Join Date
    Jun 2006
    Posts
    35


    Did you find this post helpful? Yes | No

    Default

    Most excellent Sir! I love when stuff works! Thank you So Much!! Emmett

Similar Threads

  1. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 17:42
  2. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 00:13
  3. Migrating from PIC16F690 to PIC18F4525 and having LCD issues
    By jblackann in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 6th June 2008, 20:05
  4. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  5. 16F877 RAM Question
    By Art in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 6th August 2005, 11:47

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