Problems finding Vcc using bandgap voltage method

If you have a spare analog input pin, then a simple solution for any micro is to just wire a precision voltage reference chip to one input and use that value to map the correct range used for the other analog inputs of the ADC.
One of many possible examples: