Parent Directory | Revision Log | Patch
revision 88 by torben, Mon Jun 16 09:04:05 2008 UTC | revision 118 by torben, Mon Dec 1 12:08:23 2008 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #include <string> | #include <string> |
2 | #include <stdlib.h> | |
3 | ||
4 | #include "daemon.h" | #include "daemon.h" |
5 | #include "common.h" | #include "common.h" |
# | Line 44 int main(int argc, char* argv[]) | Line 45 int main(int argc, char* argv[]) |
45 | daemonize(); | daemonize(); |
46 | ||
47 | ||
48 | SerialPort port("/dev/ttyS1" ); | SerialPort port("/dev/ttyUSB0" ); |
49 | try | try |
50 | { | { |
51 | port.Open( SerialPort::BAUD_9600, | port.Open( SerialPort::BAUD_9600, |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |