milan.rajik
Banned
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