I am using Edison Arduino Expansion board. This is the screen shot of code we are using, which is template given in XDK IDE for Analog Read.
Could you run the following command and let me know what the outcome is? I want to know what image version you are using: configure_edison --version
Have you been able to work on this? I would like to know if you have been able to run the code successfully.
Please let us know which image and XDK version you are using.