Shop OBEX P1 Docs P2 Docs Learn Events
Numbers with Decimal Point using MAX7219 — Parallax Forums

Numbers with Decimal Point using MAX7219

ArchiverArchiver Posts: 46,084
edited 2000-07-26 02:02 in General Discussion
Mohamed,

If you are using code b decoding you must set bit 7 in the register data for
any digit you want the dp on .

Hope this helps.

Steve

Original Message
From: Mohamed REFKY [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=p8b2oxuxLV4cdp_Y2JXXBTtLhA92TFx0cXahele3Au94bmhWUgfKsKQy9esVW5PU0mvSAInWTuKhYQ]refky@h...[/url
Sent: Monday, July 24, 2000 3:51 PM
To: basicstamps@egroups.com
Subject: [noparse][[/noparse]basicstamps] Numbers with Decimal Point using MAX7219


Hello,
I know how to display number such as 25500 using MAX7219 and keypad with
BS2,but how can I display it with decimal point such as 25.500 since the
AppKit code for MAX7219 start to display digits to the right with leading
zero blanking ?.Any idea would be appreciated.

Thank You
Mohamed Refky
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-07-25 01:51
    Hello,
    I know how to display number such as 25500 using MAX7219 and keypad with
    BS2,but how can I display it with decimal point such as 25.500 since the
    AppKit code for MAX7219 start to display digits to the right with leading
    zero blanking ?.Any idea would be appreciated.

    Thank You
    Mohamed Refky
    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-26 02:02
    Steve,
    I know that,as for 25.500 DP is for digit no.4 but when pressing 2 it will
    start from the right hand side of the display and the DP may stay there on
    the left all the time.


    >From: "Steve Welsh" <stevew@m...>
    >Reply-To: basicstamps@egroups.com
    >To: <basicstamps@egroups.com>
    >Subject: RE: [noparse][[/noparse]basicstamps] Numbers with Decimal Point using MAX7219
    >Date: Mon, 24 Jul 2000 13:46:39 -0400
    >
    >Mohamed,
    >
    >If you are using code b decoding you must set bit 7 in the register data
    >for
    >any digit you want the dp on .
    >
    >Hope this helps.
    >
    >Steve
    >
    >
    Original Message
    >From: Mohamed REFKY [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=P-QWZ8-tNRNNEwcf1oz0T2s6V7-pEgbpY_i2RcDWoM88FzggOsN3QP3UENuECPJuJ9fVzPnb4GIU_Ahy]refky@h...[/url
    >Sent: Monday, July 24, 2000 3:51 PM
    >To: basicstamps@egroups.com
    >Subject: [noparse][[/noparse]basicstamps] Numbers with Decimal Point using MAX7219
    >
    >
    >Hello,
    >I know how to display number such as 25500 using MAX7219 and keypad with
    >BS2,but how can I display it with decimal point such as 25.500 since the
    >AppKit code for MAX7219 start to display digits to the right with leading
    >zero blanking ?.Any idea would be appreciated.
    >
    >Thank You
    >Mohamed Refky
    >________________________________________________________________________
    >Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
    >
    >
    >
    >
    >
    >
    >
    >
    >
    >

    ________________________________________________________________________
    Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Sign In or Register to comment.