|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Accelerometer
So I'm trying to implement the accelerometer, and i get several errors.
Code:
RobotDemo(void):
myRobot(1, 2, 3, 4), // these must be initialized in the same order
leftstick(1), // as they are declared above.
rightstick(2), // as they are declared above.
gyro(1,1),
acc(I2C)
{
Code:
C:/WindRiver/workspace/Final/MyRobot.cpp:34: error: expected primary-expression before ')' token |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|