Thread: Live C++ help
View Single Post
  #13   Spotlight this post!  
Unread 08-02-2012, 17:12
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: Live C++ help

Quote:
Originally Posted by agartner01 View Post
Bold = change.

accelerometer = new ADXL345_I2C(2, ADXL345_I2C::kRange_2G);
By putting a 2 there, you are saying you have TWO digital modules which means you must have an 8-slot cRIO and the second digital module must be inserted in slot 6 of the 8-slot cRIO and your accelerometer is connected to the I2C of the digital side car that is connected to the digital module in slot 6. Is that really your configuration?
__________________
Reply With Quote