Battery voltage monitor and AD conversion for XIAO_ESP32C

If you use A0/D0 (GPIO2) to monitor battery voltage, you may not be able to upload your sketch. See the link below for details.
XIAO ESP32C3, unable to upload sketch or re-write bootloader - #18 by msfujino