#include <basic_command.h>
AutoCommand wrapper class for BasicSolenoidSet Using the Vex hardware functions
◆ BasicSolenoidSet()
BasicSolenoidSet::BasicSolenoidSet |
( |
vex::pneumatics & | solenoid, |
|
|
bool | setting ) |
Construct a new BasicSolenoidSet Command.
- Parameters
-
solenoid | Solenoid being set |
setting | Setting of the solenoid in boolean (true,false) |
◆ run()
bool BasicSolenoidSet::run |
( |
| ) |
|
|
override |
Runs the BasicSolenoidSet Overrides run command from AutoCommand.
- Returns
- True Command runs once
The documentation for this class was generated from the following files: