adc.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <esp_idf_version.h>
4 
5 #if ESP_IDF_VERSION_MAJOR < 5
6 #include_next <driver/adc.h>
7 #else
8 #include <esp_adc/adc_oneshot.h>
9 #include <esp_adc/adc_continuous.h>
10 #endif