Search found 1 match

by Rickert
Fri May 10, 2019 11:49 am
Forum: General Discussion
Topic: inaccurate adc readings
Replies: 1
Views: 2334

inaccurate adc readings

// I am trying to get the ESP32's adc running but keep on getting inaccurate readings even after i measured Vref and calibrated it as below, any advice ? #include "esp_adc_cal.h" #include "driver/adc.h" void setup() { // put your setup code here, to run once: ESP_ERROR_CHECK(adc2_vref_to_gpio(GPIO_N...