|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#3
|
||||
|
||||
|
Re: solenoid problems
if (fluffy.getPressureSwitchValue()) {
fluffy.setRelayValue(edu.wpi.first.wpilibj. Relay.Value.kOff); } else { fluffy.setRelayValue(edu.wpi.first.wpilibj. Relay.Value.kOn); } this will i believe to turn off the compressor (have not yet tried it yet) also is the only import we need is import edu.wpi.first.wpilibj.solenoid; right thanks. Last edited by Twisted eric : 20-02-2010 at 17:20. Reason: revision |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Solenoid actuation problems | Alexandstein | Pneumatics | 4 | 17-02-2010 21:39 |
| Solenoid not firing off Solenoid Breakout | spooncwru | Pneumatics | 2 | 30-01-2010 17:46 |
| single solenoid | seanl | Pneumatics | 4 | 18-02-2007 02:32 |
| Programming a Solenoid | Brigander | Pneumatics | 4 | 17-02-2007 14:06 |
| Labview problems and code problems | ajsetter | Programming | 25 | 18-01-2006 17:07 |