Thread: Accelerometer
View Single Post
  #5   Spotlight this post!  
Unread 01-02-2011, 18:03
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Re: Accelerometer

Quote:
Originally Posted by basicxman View Post
Which line is 34? What is I2C? A constant? A macro? Full source code would be helpful.

line 34 is "acc(I2C)"
Click image for larger version

Name:	Capture.PNG
Views:	23
Size:	6.4 KB
ID:	9918 That is a screenshot of just that part.


And yes I have looked at the documentation but it didn't really help me that much. It just told me that it needed a slot and a PID source. But because the accelerometer is connected to the I2C section I can't get it to work.
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
Reply With Quote