|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Solenoid Programming Errors
Hi CD,
This is my first year programming, and 4618's first year using pneumatics. I've programmed according to the WPIlib screensteps and I keep getting an error every time I save and build the program. Here's what I've done(copied from sections of the program): DoubleSolenoid *m_leftShifter; m_leftShifter = new DoubleSolenoid(LEFT_DRIVE_LOW,LEFT_DRIVE_HIGH); m_leftShifter.set(DoubleSolenoid.Value.kForward); If someone could tell me what I'm doing wrong or how to fix this it would really be appreciated. If it helps, programming it as a Solenoid instead of DoubleSolenoid and using m_leftShifter.set(true); did not get rid of the problem. EDIT: I could set a motor value successfully, just not the solenoids. Thanks Last edited by [martinskot] : 25-01-2014 at 10:55. Reason: Missing info |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|