I’m using an HTCC-AB01. When I call getBatteryVoltage() the first time, I get a reading that seems to make sense. That reading goes down if I run my sketch on battery power for a while, and it goes back up when I plug in the USB.
But there’s a problem. If I call getBatteryVoltage() inside loop() every few seconds, I always get the same reading. If I reset the device, the device will report a new value, but whatever it reports on the first call to getBatteryVoltage(), it will continue to report the same value until I reset the device again.
Has anyone else seen this issue?