Sure Carl. Here is the one.
void setup() {
Serial.begin(115200);
analogReference(AR_INTERNAL_3_0);
analogReadResolution(12);
}
void loop() {
float raw_adc = analogRead(WB_A0);
Serial.println(raw_adc);
float batV = raw_adc * (3.0 / 4096);
Serial.println(batV);
delay(5000);
}