damaris-backends/drivers/Eurotherm-2000Series/test.cpp
2014-06-26 11:10:51 +00:00

19 lines
432 B
C++

/* **************************************************************************
Author: Holger Stork, Achim Gaedke
Created: January 2005
****************************************************************************/
#include "Eurotherm-2000Series.h"
int main() {
try {
Eurotherm2000Series eurotherm("/dev/ttyS0",2);
}
catch (Eurotherm2000Series_error e) {
fprintf(stderr,"error: %s\n",e.c_str());
}
return 0;
}