46 void getVoltage(
const char* socket,
unsigned int channel,
bool prev,
AdcData &adc);
Class for ADC (Tibbit #13)
Definition: adc.h:31
void getVoltage(const char *socket, unsigned int channel, bool prev, AdcData &adc)
Get voltage value for channel.
const char * error
String error if something goes wrong (NULL for success)
Definition: adc.h:23
int voltage
Voltage in millivolts.
Definition: adc.h:17
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: adc.h:20
Struct with data output for LTC2309.
Definition: adc.h:14