Posted by The Happy Hippy on June 7, 2006, 11:28 am, in reply to "Re: binary to decimal conversion" --Previous Message-- The code does as you want.
62.252.64.32
: But the contents of the w0 word after
: the COUNT instruction is a hex
: number [0FBD] and not a decimal
: number. The question is how one
: converts the hex number to a DECIMAL
: number. Were the result of the COUNT
: to be a straight decimal number,
: there would be no problem.
: Any suggestion. Thanks.
:
: --Previous Message--
: Dear Hippy, I implemented a PICAXE
: 18X-LCD -DS18B20 digital
: thermometer based on your work. Now,
: in an other project, I am trying to
: input a square wave signal on pin#2
: of 18X and use COUNT instruction
: [with delay of one second]. The
: reading in the W0(word register) is
: 0FBDh. How can I read this as a
: decimal number on the LCD. I need
: the hint to convert the binary
: number into decimal digits. Any help
: will be much appreciated.
: Thanks.
: Sira
Message Thread:
![]()
« Back to thread
Please note that only the last 200 messages are stored; spam will therefore be deleted.