??? 08/05/05 08:36 Read: times |
#98849 - Numbers & Representations Responding to: ???'s previous message |
Raghav Narasimhaj said:
now iam getting hex value for different input voltages No, you are getting a Number - you just happen to be viewing that Number in hexadecimal notation See: http://www.8052.com/forum/read.phtml?id=67434 how to convert it to decimal As Graham said, you presumably don't actually want to convert the number - you want to create a printable (ASCII?) representation? See: http://www.8052.com/forum/read.phtml?id=96256 and: http://www.8052.com/forum/read.phtml?id=94478 how to implement the floating point conversion. Again, as Graham said, what's that got to do with it? Why do you think you need floating point? The ADC inherently gives you an integer value (in the mathematical sense) - so why not stick with it?! See: http://www.8052.com/forum/read.phtml?id=82071 |
Topic | Author | Date |
A/D HEX TO DECIMAL CONVERSION | 01/01/70 00:00 | |
Radix Conversion | 01/01/70 00:00 | |
Numbers & Representations![]() | 01/01/70 00:00 |