I used the code
Code: Select all
status = adc2_vref_to_gpio(GPIO_NUM_27);
if (status == ESP_OK){
printf("v_ref routed to GPIO\n");
}else{
printf("failed to route v_ref\n");
}
I checked couple esp32-bit chips. And multimeter is OK.