--- branches/linux-serial/serial1.cpp 2007/02/05 01:10:50 48 +++ branches/linux-serial/serial1.cpp 2007/02/05 07:06:43 49 @@ -1,12 +1,12 @@ // serial1.cpp : Defines the entry point for the console application. // -#ifdef _WINDOWS -#include "stdafx.h" - +#ifdef _MSC_VER #include "serial1.h" #endif +#include "stdafx.h" + #ifdef _DEBUG #define new DEBUG_NEW @@ -36,7 +36,8 @@ try { - serial.open("/dev/ttyUSB0", 9600); + + serial.open("COM8", 9600); // tænd lysdiode S3 / RB1 std::cout << "--------------------------------------" << std::endl; serial.writeTarget(1,1);