Posted by Sira --Previous Message--
![]()
on June 2, 2006, 11:25 am, in reply to "binary to decimal conversion"
71.68.33.168
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.
: 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.