View Single Post
  #3   Spotlight this post!  
Unread 18-02-2010, 15:56
enrique's Avatar
enrique enrique is offline
Registered User
FRC #1251 (Tech Tigers)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Florida
Posts: 87
enrique will become famous soon enough
Send a message via Yahoo to enrique
Re: ADXL345 Programming

I do not believe there is any benefit to using the GPIO, but since the FRC Sensor manual Rev A suggests you hook into the GPIOs, then I was trying to do it that way. I guess I can rewire to use the SPI. However, the "bump sensor" on it is also suggested to plug into the GPIO. So I figure plug it all in the GPIO, but then the code I see for it is SPI. I'll go ahead and use SPI, but still need to know if there is some code for using the "bump sensor". If not I guess I can reverse engineer it and use the analog.com specs if no one has anything.
Reply With Quote