Displaying Temperature on a DLR2416?


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2013
    Posts
    6

    Default Displaying Temperature on a DLR2416?

    Hi,

    I'm having trouble trying to figure out how to display a temperature reading on 2xDLR2416'.
    I can write to the displays just fine (I have BYTE variables set for each segment).
    And I can get the temperature value into a WORD variable.

    The problem is I cannot get the single digits of the number into (in the WORD variable) into the BYTE variable.
    E.G.

    I have the Decimal number 12500 in the word variable, I need the:
    1 in DIS0 Variable
    2 in DIS1 Variable
    5 in DIS2 Varibale
    etc..

    I cannot figure it out.

    Regards.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,521


    Did you find this post helpful? Yes | No

    Default Re: Displaying Temperature on a DLR2416?

    OK, so what have you tried?
    Have you looked at the DIG operator?

    /Henrik.

  3. #3
    Join Date
    Mar 2013
    Posts
    6


    Did you find this post helpful? Yes | No

    Default Re: Displaying Temperature on a DLR2416?

    Thank you Henrik,

    Even after reading through I missed that!
    It does seem to be what I'm looking for, I'll try it and reply back.

    Regards.

Similar Threads

  1. Displaying strings from codespace.
    By Byte_Butcher in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 28th March 2010, 20:32
  2. Displaying temperature Setpoints
    By Kalind in forum mel PIC BASIC Pro
    Replies: 58
    Last Post: - 27th October 2008, 14:52
  3. Displaying temperature using a -40 to 185F??
    By jblackann in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 15th January 2008, 18:45
  4. displaying a two line number..
    By sirvo in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 21st July 2007, 06:12
  5. Displaying numbers
    By Christopher4187 in forum General
    Replies: 8
    Last Post: - 20th March 2006, 23:14

Members who have read this thread : 1

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