8 #ifndef COMPONENTS_ESPECTRO32_EXAMPLES_IDF_EX_ADC_HPP_
9 #define COMPONENTS_ESPECTRO32_EXAMPLES_IDF_EX_ADC_HPP_
12 #include <ESPectro32_Board.h>
14 const static char *TAG_EX_ADC =
"ADC";
16 static void load_ex_adc(){
18 ESP_LOGI(TAG_EX_ADC,
"Photo TR: %d %f, Hall Sensor: %d",
19 ESPectro32.readPhotoTransistorValue(),
20 ESPectro32.readPhotoTransistorVoltage(),
21 ESPectro32.readOnBoardHallSensor());
22 vTaskDelay(500/portTICK_PERIOD_MS);