I am trying to get the battery voltage using seeed xiao nrf52840
I use the library above and it works well
But how do I get the VBAT_MV_PER_LBS (0.003395996F) value here?
I know the formula for getting the battery voltage through the adc voltage division is as below. Am I wrong?
Thank you
Power voltage * adcValue / resolution (4096) * R2 / (R1 + R2)