Seeed-Studio / Accelerometer_ADXL345

Seeed 3-Axis Digital Accelerometer library
http://www.seeedstudio.com/depot/Grove-3Axis-Digital-Accelerometer16g-p-1156.html
MIT License
25 stars 23 forks source link

Getting only values of zero #2

Closed ashishdatta closed 5 years ago

ashishdatta commented 9 years ago

Hi I am using an Intel Edison board and I am currently only getting values of zero for X, Y, and Z ... the code compiles fine, any suggestions to fix this?

KillingJacky commented 9 years ago

Dear dev,

Edison supports limited sensors, please find out here: https://github.com/intel-iot-devkit/upm/

ashishdatta commented 9 years ago

But I am using the Arduino code from here :/ what does the UPM repo mean in this context?

So I found one issue, I was using 5v instead of 3v3 on the grove shield, but now I am getting large and negative values. I think I getting an overflow somewhere.