|
LTPS C++ API
|
Class for DAC (Tibbit #14) More...
#include <dac.h>
Public Member Functions | |
| void | setVoltage (const char *socket, unsigned int channel, int voltage, DacData &dac) |
| Set voltage for channel. More... | |
| void | setVoltage (const char *socket, unsigned int channel, int voltage) |
| Set voltage for channel. More... | |
Class for DAC (Tibbit #14)
| void Dac::setVoltage | ( | const char * | socket, |
| unsigned int | channel, | ||
| int | voltage, | ||
| DacData & | dac | ||
| ) |
Set voltage for channel.
| socket | I2C bus name (eg: s1, s15) |
| channel | Integer number of DAC channel (1...4) |
| voltage | Value in millivolts (-10000...10000) |
| dac | DacData data struct |
| void Dac::setVoltage | ( | const char * | socket, |
| unsigned int | channel, | ||
| int | voltage | ||
| ) |
Set voltage for channel.
| socket | I2C bus name (eg: s1, s15) |
| channel | Integer number of DAC channel (1...4) |
| voltage | Value in millivolts (-10000...10000) |