|
Re: Accelerometer code
First of all, thanks for the quick reply!
We have used the white round-jacketed cable from previous years and not the ribbon cable because the ribbon cable was destroyed when we tried to fix it (It had arrived broken in the KOP)... We are now trying to get a new ribbon cable.
I also tried to use the accelerometer with SPI, but it had the same problem (acceleration is always 0). Is it also because of the cable?
the code for the SPI try is attached.
|