I am trying to connet a tri axis accelerometer LSM303DLH to arduino UNO using the libraries taken from the following links (https://github.com/adafruit/Adafruit_LSM303DLHC and/or https://github.com/ryantm/LSM303DLH) but none of them work. Using the following connection: SCL on A5, SDA on A4, Vin on 5V, Gng on Gnd.
I should be able to see the values of the accelerometer but the serial monitor is empty.
I've tried inserting a few print in the libraries to understand where the execution stops, basically after a Wire.endTrasmission() the program doesn't go forward. How can I connect the accelerometer using I2C?