I am trying to monitor the battery life of a 1S lipo on the jeenode smd, using the concept employed in the radioBlip2.ino sketch.
I have the lipo terminals connected onto the + - terminals next to the BATT label.
Problem is no matter what the battery level is it measures the same value, 3.039V.
I have included the function I use to determine the percentage charge, and the sketch I use to calibrate the bandgap value.
Probably missing something obvious, like a voltage regulator, but I gathered from the the interweb that this would work?