show on LCD decimal numbers


Results 1 to 9 of 9

Threaded View

  1. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by savnik View Post
    It's possible to show on LCD decimal numbers;
    value = SQR 10 ' give 3,16
    i use this:
    Lcdout $fe,1, DEC (value DIG 2), "." ,DEC (value DIG 1) ,DEC (value DIG 0)
    but not show correct.
    Let me guess....you're expecting 3.16 right?
    Do a search in the PBP manual for floating point math and tell me what you come up with (hint: we've already been through this in January, see post #8 of the "16f877 with LM335 problem" thread ).
    Last edited by skimask; - 30th March 2007 at 21:25.

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, 20:14
  2. 16f688 LCD what have I done wrong
    By spitfiredriver in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th August 2009, 20:54
  3. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 17:56
  4. Need help with LCD number display.
    By Steve Matson in forum mel PIC BASIC
    Replies: 8
    Last Post: - 27th June 2007, 00:07
  5. LCD will not start
    By btaylor in forum mel PIC BASIC Pro
    Replies: 49
    Last Post: - 24th May 2007, 03: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