6 #ifndef __LADC_4_20_H__
7 #define __LADC_4_20_H__
void getCurrent(const char *socket, Adc420Data &adc)
Get current.
Struct with data output for Tibbit 4...20 mA.
Definition: adc-4-20.h:14
Class for ADC 4...20 mA (Tibbit #53)
Definition: adc-4-20.h:31
float current
Current in Ampere.
Definition: adc-4-20.h:17
const char * error
String error if something goes wrong (NULL for success)
Definition: adc-4-20.h:23
int status
Return status (EXIT_SUCCESS or EXIT_FAILURE)
Definition: adc-4-20.h:20