Quote:
Originally Posted by GeeTwo
Sounds like you're using C++, since :: is not part of java.
Doing a bit of googling, I found that kForward is actually a member of the class "Value" defined within DoubleSolenoid. I have never written any c++, but as I read the docs online, my best guess at this line would be: Solenoid.Set(DoubleSolenoid::Value.kForward);
|
Close, "Value." isn't necessary, the correct parameter value would be:
DoubleSolenoid::kForward
Keep in mind that if you should be able to type DoubleSolenoid, the two colons and pause, Elipse should list members of DoubleSolenoid for you. I believe the constants appear near the end.