I'm trying to read data from an adxl345 accelerometer. The example code that comes with Energia doesn't seen to work.
So, I'm trying to use this code from sparkfun: http://www.sparkfun.com/tutorials/240. It was made for Arduino, but since Energia uses the same libraries I thought it would work as it work on arduino.
My problem is to know the correct pins to comunicate. The arduino board has only one set of SPI pins, although the Stellaris board has four sets.
I want to know how to configure the SPI comunication pins. I'm kind of a beginner with Stellaris, so forgive if it is a stup