ADXL345 not working
I folowed this procedure https://wiki.up-community.org/Adafruit#Using_Adafruit_ADXL345_Triple-Axis_Accelerometer_Breakout_board_on_UP but it doesn't work. Full traceback:
sudo python examples/simpletest.py Traceback (most recent call last): File "examples/simpletest.py", line 12, in <module> accel = Adafruit_ADXL345.ADXL345() File "build/bdist.linux-x86_64/egg/Adafruit_ADXL345/ADXL345.py", line 65, in __init__ File "build/bdist.linux-x86_64/egg/Adafruit_GPIO/I2C.py", line 152, in readU8 File "build/bdist.linux-x86_64/egg/Adafruit_PureIO/smbus.py", line 155, in read_byte_data IOError: [Errno 6] No such device or address
I noticed I have the same error when I don't use sudo. Could it be because my I2C bus is not detected at all ?
I have an up squared, maybe the the tutorial above only works for up board ?