![]() |
Accelerometer
So I'm trying to implement the accelerometer, and i get several errors.
Code:
RobotDemo(void):Code:
C:/WindRiver/workspace/Final/MyRobot.cpp:34: error: expected primary-expression before ')' token |
Re: Accelerometer
bump
|
Re: Accelerometer
Be patient. It was less than a half hour before your "bump".
Have you looked at the documentation for the ADXL345_I2C class? Is there anything you don't understand about it? |
Re: Accelerometer
Quote:
|
Re: Accelerometer
1 Attachment(s)
Quote:
line 34 is "acc(I2C)" Attachment 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. |
Re: Accelerometer
1 Attachment(s)
|
Re: Accelerometer
Quote:
Again, what is I2C? A macro? A constant? |
Re: Accelerometer
Quote:
Quote:
|
Re: Accelerometer
Quote:
|
| All times are GMT -5. The time now is 13:02. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi