Raspberry pi 3 and A-Star 32u4 robot controller LV

Im having trouble getting the raspberry pi 3 to communicate to the 32u4 bridge.
when I run blink.py I get
pi@raspberrypi:~/pololu-rpi-slave-arduino-library/pi $ python ./blink.py Traceback (most recent call last):
File “./blink.py”, line 8, in
File “/home/pi/pololu-rpi-slave-arduino-library/pi/a_star.py”, line 28, in leds
self.write_pack(0, ‘BBB’, red, yellow, green)
File “/home/pi/pololu-rpi-slave-arduino-library/pi/a_star.py”, line 25, in write_pack
self.bus.write_i2c_block_data(20, address, data_array)
IOError: [Errno 5] Input/output error

I’ve enabled i2c and spi but still am getting this error.
Any help will be apreciated.


It is not clear to me why you have SPI enabled; the A-Star Robot Controller communicates with the Raspberry Pi over I2C. Can you run i2cdetect -y 1 and groups (separately) on your Raspberry Pi and post the results here?

- Amanda

I figured out my issue. I did not have the arduino program uploaded. thanks for your assistance.