3245 Views - Created 02/12/2015
I am not geek!!
I try to play with Expander pi Digital IO
I install i2c as explain in : https://www.abelectronics.co.uk/kb/article/1/i2c--smbus-and-raspbian-linux
I use raspbian jessie
I found Digital IO in x20 by command:"i2cdetect -y 1"( i found other thing in x68)
I check PYTHONPATH witch is correct.
I start demo-iowrite and i found this problem ( have same problem with other demo_xxxx software)
may be i make mistake during install ??
Thank you for your help.
sudo python demo-iowrite.py
Traceback (most recent call last):
File "demo-iowrite.py", line 3, in
from ABE_ExpanderPi import IO
File "/home/lib-python/ABElectronics_Python3_Libraries/ExpanderPi/ABE_ExpanderPi.py", line 23, in
File "/home/lib-python/ABElectronics_Python3_Libraries/ExpanderPi/ABE_ExpanderPi.py", line 34, in ADC
IOError: [Errno 2] No such file or directory
You will need to install the SPI libraries as well as I2C for the Expander Pi to work. Try following our SPI tutorial to install SPI Python support and see if that solves the problem.
Thank you very much.
Quick reply and fully effective.
All is working fine now.
I can play with my 8 relays connected on digital IO.
Thank you again!
Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view, download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.