Battery voltage monitor and AD conversion for XIAO_ESP32C

https://docs.espressif.com/projects/arduino-esp32/en/latest/api/adc.html

It is alot of complicated stuff going on in the background that may result in an error between what you read and what it says… like i said before, the chip is not a multimeter, at the end of the day it is taking a binary number and converting it into a decimal number that it presents to you as a millivolt