LCD output and data types


Results 1 to 2 of 2

Threaded View

  1. #2
    Join Date
    Jul 2007
    Posts
    53


    Did you find this post helpful? Yes | No

    Lightbulb This will do it

    To display a variable in binary format use the BIN modifier
    To display a variable in hexadecimal format use the HEX modifier

    ex :

    cnt VAR byte

    cnt = %01010011
    LCDOut BIN cnt

    This will display: 01010011


    Read the SEROUT2 command for more details, starting at page 140 of the manual. This also apply to the LCDOUT command.

    J-P
    Last edited by GrandPa; - 2nd August 2007 at 06:03.

Similar Threads

  1. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  2. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  3. Serious Serial Situation Setbacks...
    By Dansdog in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 7th February 2007, 03:46
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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