I’m using a grove six axis accelerometer / compass sensor for a project of mine, which communicates over the I2C pins of the pi (in this case through a grove seeed board that I got). I’m using the default python program provided for it as a library (so I call lsm303d.lsm303d()) to initialize it, but when I run the program I’m told that communications with the sensor time out when it tries to write byte data to a register. Any ideas why this could be?
If you need more information please let me know. I’m happy to provide the actual text of the error and such, I’m just not in front of the pi right now, so I can’t.
Thanks for the help!
can you please share the code and the error log ?