I need to measure current and voltage with MK26FN2M0VMI18
I have a DC input from 5V up to 28V
Is it possible to measure it with a shunt resistor resistor of 0m50 and the ADC?
If so, I need to use VREF or VREF_OUT ?
This circuit can serve ?, it is similar to my requirements. If so, I have to place the R1 closed to GND and R2 closed to K26F ADC pin?