Suraj Giri / Mbed 2 deprecated heros_leg_readout_torque_addition_V3

Dependencies:   SPTE_10Bar_5V mbed AS5048 SDFileSystem MODSERIAL PinDetect LCM101 LinearActuator

Embed: (wiki syntax)

« Back to documentation index

ValveDigital Class Reference

ValveDigital Class Reference

Controlling an on/off valve. More...

#include <Valve.h>

Public Member Functions

 ValveDigital (PinName pin_d_out)
float getValve ()
void setValve (bool set)
 @

Detailed Description

Controlling an on/off valve.

Definition at line 9 of file Valve.h.


Constructor & Destructor Documentation

ValveDigital ( PinName  pin_d_out )
Parameters:
pin_d_outPinName of digital output

Definition at line 16 of file Valve.h.


Member Function Documentation

float getValve (  )
Returns:
valve state

Definition at line 24 of file Valve.h.

void setValve ( bool  set )

@

Definition at line 32 of file Valve.h.