Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to convert the 16 bit hex value into 16 bit decimal value in C?

Status
Not open for further replies.

dayal

Member level 3
Joined
Aug 26, 2007
Messages
54
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,629
Hai,
I would like to convert the 16 bit hex value into 16 bit decimal value , can anyone tell me how i can do it in the C coding(keil). reply please...
thanks
by
dayal
 

ZS1BFE

Member level 1
Joined
Nov 17, 2007
Messages
40
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Location
Cape Town South Africa
Activity points
1,612
Re: ADC conversion

Hi,
I am not sure about the 16-bit decimal value??
I use small routine to convert bin value to decimal.It results in 2, 3, or 4 bcd values which I then can send to LCD , etc.
Let me know if this is what you need??
ZS1BFE
 

dipal_z

Full Member level 5
Joined
Apr 21, 2005
Messages
278
Helped
37
Reputation
74
Reaction score
7
Trophy points
1,298
Location
India
Activity points
3,008
ADC conversion

Like ZS1BFE i am also not sure what exactly you are looking for. Can you give some example of the 16 bit hex value and corresponding "so called" 16 bit decimal value?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top