Sample code for ADXL345 and SPI?
#1
Posted 17 November 2011 - 02:47 PM
#2
Posted 17 November 2011 - 03:04 PM
A quick search on Google dragged me to here: Accelerometers: ADXL345 Library and Netduino Tutorial
Does that help?
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
#3
Posted 19 November 2011 - 04:36 AM
Thanks for the reply however it's not SPI hence does not answer the question.
Hi Orange and welcome to the Netduino forums!
A quick search on Google dragged me to here: Accelerometers: ADXL345 Library and Netduino Tutorial
Does that help?
#4
Posted 19 November 2011 - 05:13 AM
#5
Posted 19 November 2011 - 06:23 AM
#6
Posted 26 November 2011 - 02:59 AM
The link Stefan provided uses I2C (and works very well, I have implemented it), I understand Orange wants to use SPI instead for communication with the accelerometers. I searched a bit further, and found some references, but they are generally questions from people struggling with it. I did find libraries for the mbed, both an I2C and SPI version at http://mbed.org/cook...5-Accelerometer, maybe that helps.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users