Vcc calibration function