FYI, there is already a 3 axis accelerometer built into the Cypress FirstTOUCH board.
But the problem is that i cannot use that accelerometer because i need the accelerometer to be seperate.
Ok, I just wanted to make sure you werenโt overlooking a really easy solution to your problem.
Unfortunately, there isnโt a good way to do exactly what you are asking for. Neither legacy nor extended modes offer any of the serial communication methods necessary to talk to an ADXL245. Since the rules prevent you from modifying the code on the cypress board (if used at the driver station), you canโt add them either. Bummer.
However, you do have a bunch of analog inputs. You could easily wire in an analog accelerometer, such as the ADXL335 that was in the 2009 KoP.
Thanks a lot for your help, iโll look into the analog accelerometer. My team was taking about the same thing you are talking aboutโฆ only a few years till FIRST will let us program the cypress as much as we want