Hey, I am using the 12F675 and AN2 with a couple of resistors to divide the voltage to allow me to check the voltage of a battery, this works great however I would like to know if anyone has the formula or a table/chart of what each voltage point turns into as a digital variable?
I am using a 10k and 20k resistor to divide the voltage on AN2
I just need to know how to figure out what the digital converted value will be. IE 4v = 200 or something ?
Can anyone help?
Thanks heaps!
I am using a 10k and 20k resistor to divide the voltage on AN2
I just need to know how to figure out what the digital converted value will be. IE 4v = 200 or something ?
Can anyone help?
Thanks heaps!