A class representing an analog input channel. More...
#include <rtt/dev/AnalogInput.hpp>
Public Member Functions | |
AnalogInput (AnalogInInterface *ana_in, unsigned int channel_nr) | |
Create an analog input object to read the state of a channel. | |
~AnalogInput () | |
Destruct the AnalogInput. | |
double | value () const |
Read the value of this channel. | |
int | rawValue () const |
Read the raw value of this channel. |
A class representing an analog input channel.
Definition at line 48 of file AnalogInput.hpp.
RTT::AnalogInput::AnalogInput | ( | AnalogInInterface * | ana_in, | |
unsigned int | channel_nr | |||
) | [inline] |
Create an analog input object to read the state of a channel.
ana_in | The analog input device to use to read the status. | |
channel_nr | The channel number to use on the device. |
Definition at line 50 of file AnalogInput.hpp.