#include adc.h
Posted: Thu Jan 19, 2017 5:50 pm
Hello,
I'm using Eclipse Neon.2 and i need to use ADC and BLE for my project.
I started from gatt_example and with a little of work i have been able to fully compile and flash the project on my devkit. I'm trying to add the adc part so this is what i did:
1) I added to the "include" paths of the project properties: "${IDF_PATH}/components/driver/include/driver" that is the folder where "adc.h" is
2) I called the needed code (setting width, attenuation and get voltage). Please note that functions have been recognized and can be explored with the hotkey (CTRL+click)
The problem is that when i try to compile i get error "adc.h no such file or directory". Please note that if i CTRL+click on "adc.h" in the include i can explore the library. I just don't understand how is possible that i'm able to explore the files and the function but i get this error.
Any suggestion?
Thank you!
Frax
I'm using Eclipse Neon.2 and i need to use ADC and BLE for my project.
I started from gatt_example and with a little of work i have been able to fully compile and flash the project on my devkit. I'm trying to add the adc part so this is what i did:
1) I added to the "include" paths of the project properties: "${IDF_PATH}/components/driver/include/driver" that is the folder where "adc.h" is
2) I called the needed code (setting width, attenuation and get voltage). Please note that functions have been recognized and can be explored with the hotkey (CTRL+click)
The problem is that when i try to compile i get error "adc.h no such file or directory". Please note that if i CTRL+click on "adc.h" in the include i can explore the library. I just don't understand how is possible that i'm able to explore the files and the function but i get this error.
Any suggestion?
Thank you!
Frax