View Single Post
  #3   Spotlight this post!  
Unread 12-02-2012, 00:57
wireties's Avatar
wireties wireties is offline
Principal Engineer
AKA: Keith Buchanan
FRC #1296 (Full Metal Jackets)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2004
Location: Rockwall, TX
Posts: 1,170
wireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond reputewireties has a reputation beyond repute
Send a message via AIM to wireties
Re: Trouble with the AXDL345_I2C accelerometer.

Ours is working (albeit very noisy) with the default code so the library does not need changing.

- do you have your sidecar power connected?
- did you average some readings and save a zero G offset (not your problem yet)
- are you sure the accelerometer is not plugged in backwards?

I'm not a java expert but should accel be a pointer if you are going to instantiate the class with 'new'?

HTH
__________________
Fast, cheap or working - pick any two!
Reply With Quote