Hi, just received my ADC Pi Plus, and can't get the demo codes to run. I assume it is something really simple, and would appreciate a pointer or two.
I have plugged the board into the RPi 2's GPIO bus.
I did the pip install spidev thing
I have done the git clone thing, assuming python 2.X (and it does show 2.7.3 when I start python, so...)
I have gone to the resulting directory ~/ABElectronics_Python_Libraries/ADCDACPi
and there done the export PYTHONPATH thing
I then try to run the demo code, and this happens:
~/ABElectronics_Python_Libraries/ADCDACPi $ python demo-adcread.py
Traceback (most recent call last):
File "demo-adcread.py", line 3, in
from ABE_ADCDACPi import ADCDACPi
File "/home/pi/ABElectronics_Python_Libraries/ADCDACPi/ADCDACPi.py", line 17, in
File "/home/pi/ABElectronics_Python_Libraries/ADCDACPi/ADCDACPi.py", line 24, in ADCDACPi
IOError: [Errno 2] No such file or directory
Any ideas on what's wrong?