Search the Community
Showing results for tags 'spi acceleromet adxl345'.
Found 1 result
SPI pin map for Stellaris Launchpad (LM4F120)
Matheus posted a topic in Energia - MSPI'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