I am configuring a ADC for a current sensor using a chip for it. The issue is that uses a voltage divider with a Vref of 3V. When i do the calculations I use this value coming out the result wrong, it debit to the microcontroller taking the value of voltage feeding microcontroller.
If someone could help me to know how to configure to use the Vref I want to I will be pleasent.
Thanks for advance