Yveaux / Arduino_Vcc

Arduino library to read VCC supply level without external components
GNU Lesser General Public License v2.1
112 stars 36 forks source link

VccCorrection Question #6

Closed aiannar974 closed 11 months ago

aiannar974 commented 5 years ago

Hello - I want to make sure I understand what I need to do to get the correct values in in the below line. It looks like I should measure the voltage of the battery power supply for the numerator and then run the code with the ratio = 1.0 and get the denominator and then plug in the respective values. Is this correct?

const float VccCorrection = 1.0/1.0; // Measured Vcc by multimeter divided by reported Vcc

Thank you, AFI

Yveaux commented 11 months ago

Yes!