Joining variables and displaying on an LCD


Results 1 to 8 of 8

Threaded View

  1. #2
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Navaidstech View Post
    I could issue a command
    LCDOUT $fe, $c0, #TempTens, #TempUnits,".",#TempDecimals
    but I'm wondering if there is a way of merging the three variables into a string and then displaying the whole thing so that my LCDOUT command doesn't get cluttered.
    You could make it a string variable, but it would add an extra step, and would add clutter to another line. So it would really be more clutter. I realize neatness counts, but in this case your current code is very readable. And hey, you're the only person that's going to be bothered by it. No one else will know its there.
    Last edited by ScaleRobotics; - 28th April 2009 at 14:36.

Similar Threads

  1. WRITECODE stores wrong 14-bit word values in FlashMEM
    By BobPigford in forum mel PIC BASIC Pro
    Replies: 18
    Last Post: - 26th June 2009, 04:35
  2. SLOW Serin2 and Serout2
    By dragons_fire in forum General
    Replies: 3
    Last Post: - 26th June 2009, 02:38
  3. Displaying messages with only 7 (or 4) LEDs on a stick...
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 20th May 2007, 08:35
  4. Gps with 16f628
    By dragons_fire in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 8th June 2006, 03:38
  5. reading, writing, and displaying from eeprom
    By Rhatidbwoy in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 12th January 2006, 22:05

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