Thank you very much Jeff. I was able to get battery monitoring working on a wireless stick v2.1 and wifi lora v2.0 as well as a version 3 with some changes.
Your post is nearly exactly 3 years old, but the examples from heltec and the pinout documentation pdf has not improved at all. I was using an external battery monitoring solution for quite a while until getting a V3 device recently which got me into trying to use the internal circuits again. (Mostly because I had to rewrite my whole Sketch as moving from V2 to V3 changed about everything.
The heltec website outright lies about this: āThe newly launched V3 version has the same pin sequence as the V2 versionā Then why did I have to change the oled settings, half of the pin definitions and cannot and a completely different lora library? (I understand its because of the different chip, but you do not offer a working example to communicate with your own older devices) Documentation, images and silkscreen do not fit at all.
Seeing other posts in the forum, especially the heltec nightmares thread, this will have been the last heltec device I will purchase. If the documentation would improve in the future I might think about it again, but this does not seem to be the case so far.
Again, thank you Jeff! You saved me time, code complexity and cables. I wish this wouldnt have been needed.