View Single Post
  #10   Spotlight this post!  
Unread 30-01-2011, 20:29
basicxman basicxman is offline
Emily Horsman
FRC #2200 (MMRambotics)
Team Role: Programmer
 
Join Date: Oct 2007
Rookie Year: 2007
Location: Burlington, Ontario
Posts: 971
basicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant futurebasicxman has a brilliant future
Send a message via AIM to basicxman Send a message via MSN to basicxman Send a message via Yahoo to basicxman
Re: Gyro + accelometer C++ Programing

Quote:
Originally Posted by tomy View Post
what about the accelometer we have it pluged into the I2C Port in our programing i think we did something like this

Code:
acc.(I2C);
and it did not work
That shouldn't have compiled, here are the available functions for the ADXL345 accelerometer: http://mmrambotics.ca/wpilib/class_a...45___i2_c.html

You are initializing these objects too correct? Please post full source code when you can, it will be much easier for us to help you.
Reply With Quote