Value on LCD


Results 1 to 6 of 6

Thread: Value on LCD

Threaded View

  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302

    Default Value on LCD

    I have this code:

    COUNTa var word
    COUNTH var word
    COUNTL var word
    FRE var word
    FR var byte

    COUNTa = 1954
    COUNTH = COUNT/5
    COUNTL = COUNT//5
    FR = COUNTL*2
    FRE = COUNTH

    LCDOUT $FE,1,DEC FRE,".",DEC FR

    on Lcd show 390.625 instead of 390.16
    Why;
    Last edited by savnik; - 28th June 2007 at 14:33.

Similar Threads

  1. Is this code not initialising the LCD properly?
    By Platypus in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 30th January 2010, 19:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 19:54
  3. LCD Problem
    By karenhornby in forum General
    Replies: 3
    Last Post: - 19th June 2008, 11:43
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 26th June 2007, 23:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 02:30

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