View Single Post
  #4   Spotlight this post!  
Unread 12-02-2012, 03:13
LukeS LukeS is offline
4272 mentor, 1024 alumnus
AKA: Luke Shumaker
FRC #4272
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Indianapolis, IN
Posts: 60
LukeS is an unknown quantity at this point
Re: Trouble with the AXDL345_I2C accelerometer.

Quote:
Originally Posted by wireties View Post
Ours is working (albeit very noisy) with the default code so the library does not need changing.
Thank you, that is good to know. Now, I am curious though, how it works at all if I'm reading the spec sheet correctly.

Quote:
Originally Posted by wireties View Post
- do you have your sidecar power connected?
Yes, as verified by it running several servos (as mentioned), and on all the power LEDs. However, it was pointed out to me shortly before I left today that it had 24V going in to it (it should have 12V), so that may be the issue. My mind is blown that it was properly running the servos at the correct voltage with twice the voltage running in to it.

Quote:
Originally Posted by wireties View Post
- are you sure the accelerometer is not plugged in backwards?
Yes, we must have checked that 100 times today.

Quote:
Originally Posted by wireties View Post
I'm not a java expert but should accel be a pointer if you are going to instantiate the class with 'new'?
In Java anything that's not a primitive (various sized ints, 32&64 bit floats, boolean and char) is automatically a pointer (or "reference" in Java-speak).
Reply With Quote