View Single Post
  #1   Spotlight this post!  
Unread 23-01-2012, 16:52
rai337 rai337 is offline
Registered User
FRC #1574 (Miscar1574)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: israel
Posts: 26
rai337 is an unknown quantity at this point
accelerometer adxl345 isnt working

we tryed to make it work for 5 days, with no success, all the connections are fine, and we use then new code example but when we run it, it said 0 only.
we checked and it stuck in an endless while loop in:
adxl345 SPI open -> SPI read -> a while loop that stop when:
"SPI read #convd(i think)" isnt equal to 0 - and it send 0 only..
if anyone know what exectly is the problem, please help us.