|
Re: ADXL345 Accelerometer and Arduino
Attached is the code I found that should work but doesn't. Yes, we are using the Andy Mark am-2067 sensor module. Thank you for verifying.
In the example, it holds the Chip Select (CS) pin high and holds it low when actually transferring data (Both directions). When I read files, all I get when converted to an int is -1, -1, -1 for all 3 variables. So I am wondering if perhaps I have it cabled incorrectly, if I'm not actually sending the correct hex codes (or the code isn't being converted correctly), it I'm not sending MSB First or what. Just finding this difficult that I cannot get it to respond to anything I send.
Will
|