Displaying a decimal larger than 255 on LCD?


Results 1 to 11 of 11

Threaded View

  1. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,653


    Did you find this post helpful? Yes | No

    Wink

    Quote Originally Posted by timmers View Post
    Could it not be as simple as:-

    COUNTER VAR WORD
    COUNTER_H VAR COUNTER.BYTE1 'high byte
    COUNTER_L VAR COUNTER.BYTE0 'low byte

    LCDOUT $FE,128,DEC4 COUNTER 'top row, position 1.

    Tim.
    Hi, You were not so far ...

    Code:
    COUNTER VAR WORD
    
    COUNTER.Highbyte = EEPROM_READ1    'high byte ( note: EEPROM_READ1 or value1, or ...xxx1)
    COUNTER.Lowbyte = EEPROM_READ2     'low byte
    
    LCDOUT $FE,128,DEC4 COUNTER    'top row, position 1.
    No multiplying necessary ...

    Alain
    Last edited by Acetronics2; - 10th March 2009 at 09:06.
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

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. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30
  4. 32 bit data displaying on LCD
    By selahattin in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 15th September 2006, 13:33
  5. 32 Bit Decimal Displaying On LCD
    By selahattin in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 12th January 2004, 19:24

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