damaris-backends/drivers/Eurotherm-2000Series/test.cpp

19 lines
432 B
C++
Raw Permalink Normal View History

2014-06-26 11:10:51 +00:00
/* **************************************************************************
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;
}