[SOLVED] converted 16-bit-ADC value on LCD

Status
Not open for further replies.
If your VSSA is 0V and VDDA is 3.3V and ADC input is 3.3V then your 16 bit raw adc value will be 65535 (0 to 65535). Use unsigned int 16, float or double type variable to read in the raw adc value.


Code C - [expand]
1
ADC_Ans * 3.3 / 65535 //If ADC_Ans = 65535 (3.3V) then 65535 * 3.3 / 65535 = 3.3V

 
I got the answer. So it's Solved

- - - Updated - - -

I get the Answer. So problemn Solved..
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…