RIT VEXU Core API
Loading...
Searching...
No Matches
BasicSolenoidSet Class Reference

#include <basic_command.h>

Inherits AutoCommand.

Public Member Functions

 BasicSolenoidSet (vex::pneumatics &solenoid, bool setting)
 Construct a new BasicSolenoidSet Command.
 
bool run () override
 Runs the BasicSolenoidSet Overrides run command from AutoCommand.
 

Detailed Description

AutoCommand wrapper class for BasicSolenoidSet Using the Vex hardware functions

Constructor & Destructor Documentation

◆ BasicSolenoidSet()

BasicSolenoidSet::BasicSolenoidSet ( vex::pneumatics & solenoid,
bool setting )

Construct a new BasicSolenoidSet Command.

Parameters
solenoidSolenoid being set
settingSetting of the solenoid in boolean (true,false)

Member Function Documentation

◆ 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: