My line of code for Set() looks like this
Code:
festo.Set(kForward);
festo is the call for our DoubleSolenoid. When i try to build the code I get the following errors:
Code:
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp: In member function `virtual void RobotDemo::OperatorControl()':
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp:58: error: `kForward' undeclared (first use this function)
C:/windriver/workspace/SimpleTemplate/MyRobot.cpp:58: error: (Each undeclared identifier is reported only once for each function it appears in.)
Any idea why the Set() I am using is not working?