dec number to show on lcd (maths)


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Location
    Greece
    Posts
    302

    Default dec number to show on lcd (maths)

    I have the number (dec) 19307 , and i want to show on LCD 87,5
    The number change up +1 or down -1 .
    If the number change to 19308 i want to show 87,6

    19309 > 87,7
    19310 > 87,9
    19311 > 87,9
    19312 > 88,0
    19313 > 88,1
    etc.

    I spend a few hours but nothing.
    I can't solve this problem.

  2. #2
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289


    Did you find this post helpful? Yes | No

    Wink

    That is already a problem ??????

    y=(number-18432)

    LCDOUT DEC3 y/10
    LCDOUT ","
    LCDOUT DEC1 y
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by BigWumpus View Post
    That is already a problem ??????

    y=(number-18432)

    LCDOUT DEC3 y/10
    LCDOUT ","
    LCDOUT DEC1 y
    Thank you.
    Final it is so simple.

Similar Threads

  1. RF Modules
    By tonyfelloni in forum mel PIC BASIC Pro
    Replies: 44
    Last Post: - 26th June 2010, 17:42
  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. RX TX modules - intermitent communication
    By ruijc in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 11th June 2009, 00:13
  4. Play with LCD on PICDEM
    By The IceMan in forum mel PIC BASIC
    Replies: 5
    Last Post: - 22nd August 2008, 16:56
  5. PBPL 2.50 observations
    By BrianT in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 17th September 2007, 23:58

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