|
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.
|