Hi,
I have tried to run the example script grove_temperature_sensor.py as the pi user (from brick pi distro) but I get the following
pi@raspberrypi2 ~/Desktop/GrovePi/Software/Python $ python grove_temperature_sensor.py
Traceback (most recent call last):
File "grove_temperature_sensor.py", line 5, in <module>
import grovepi
File "/home/pi/Desktop/GrovePi/Software/Python/grovepi.py", line 22, in <module>
bus = smbus.SMBus(1)
IOError: [Errno 13] Permission denied
So, of course it works well when run with sudo.
My question is, is it possible to run this kind of script without sudo ?
Thanks