Hi all,
2 years age I bought beagleboneblack. In my project I used SPI(0,0) and it worked for me. I measured the adc value. And a couple of weeks age I bought a beaglebone black and I copy the codes to the new one and I have this error.
Traceback (most recent call last):
File "/var/lib/cloud9/adc.py", line 8, in <module>
spi = SPI(0,0) #/dev/spidev1.0
IOError: [Errno 2] No such file or directory
could you please help me?thanks
from Adafruit_BBIO.SPI import SPI
spi = SPI(0, 0)
print(spi.xfer2([32, 11, 110, 22, 220]))
spi.close()
I wrote it in cloud9 with python.