I’m just starting with GrovePi+ Starter Kit with Raspberry Pi B+, and trying the "LED brink tutorial! as follows:
But, the result of python script is as follows
pi@raspberrypi ~/MCC/GrovePi/Software/Python $ sudo python grove_led_blink.py Traceback (most recent call last): File "grove_led_blink.py", line 12, in <module> from grovepi import * File "/home/pi/MCC/GrovePi/Software/Python/grovepi.py", line 30, in <module> bus = smbus.SMBus(1) IOError: [Errno 2] No such file or directory
Also, the result of checking i2c is as follows
pi@raspberrypi ~/MCC/GrovePi/Software/Python $ sudo i2cdetect -y 1 Error: Could not open file <code>/dev/i2c-1' or</code>/dev/i2c/1': No such file or directory pi@raspberrypi ~/MCC/GrovePi/Software/Python $ sudo i2cdetect -y 0 Error: Could not open file <code>/dev/i2c-0' or</code>/dev/i2c/0': No such file or directory
Do you have any idea about the possible cause? Thanks.