Let's Make Robots!

arduino uno + adxl345 (arduino 1.0)

Hi, I want to get the horisontal angle in degrees from the adxl345, I have a code that kind of works, but I wonder if someone here have a code that really works.