patan.gova
Full Member level 3
- Joined
- Dec 19, 2011
- Messages
- 172
- Helped
- 4
- Reputation
- 8
- Reaction score
- 0
- Trophy points
- 1,296
- Activity points
- 2,776
How to convert unsinged binary 8bit to decimal in MSP430 microcontrollers
Hello,
I am working with MSP430 microcontroller to read a analog input using a ADC12 channel and the result obtained will a 8/10/12 bit unsigned binary according to the chosen resolution.
But how to convert the 8 or 10 or 12 bit binary into decimal value.
Can someone help me this conversion and the datasheet is attached below where in page580 it is described about the ADC12 conversion result(i.e, of 8/10/16 bit).
Thanks in Advance.View attachment CC430 User's Guide.pdf
Hello,
I am working with MSP430 microcontroller to read a analog input using a ADC12 channel and the result obtained will a 8/10/12 bit unsigned binary according to the chosen resolution.
But how to convert the 8 or 10 or 12 bit binary into decimal value.
Can someone help me this conversion and the datasheet is attached below where in page580 it is described about the ADC12 conversion result(i.e, of 8/10/16 bit).
Thanks in Advance.View attachment CC430 User's Guide.pdf