View Single Post
  #3   Spotlight this post!  
Unread 14-02-2012, 16:28
NeatTeam NeatTeam is offline
Registered User
FRC #1943
 
Join Date: Jan 2012
Location: Israel
Posts: 56
NeatTeam is an unknown quantity at this point
Re: Accelerometer code

Quote:
Originally Posted by Alan Anderson View Post
You aren't giving much information to go on. Can you be a little more specific than "this didn't work"? What part of the code should we be looking for? What do you want it to do, and what is it doing instead?
Well we tried to base our code on what shown in the Example of AXDL345 i2c - We used the Open and Read methods they built.

(The part that you should probably inspect is the teleop)

We wanted to get the acceleration from the accelerometer sensor, but the acceleration output (in the Teleop) returned 0.
We have double checked the wiring is exactly as shown in the example, so we know that is not the problem.
I hope this helps.
Thank you.

Last edited by NeatTeam : 14-02-2012 at 16:34.
Reply With Quote