int main()
{
char buf[2000];
DWORD dwBytesWritten;
DWORD bytesread;
int rc;
char ch;
system("cls");
printf("\n\n");
system("mode com420: baud=4800 parity=N data=8 to=off xon=off octs=off dtr=off rts=off idsr=off");
h = CreateFile("COM420", GENERIC_READ | GENERIC_WRITE,0, 0, OPEN_EXISTING, 1, 0);
printf("serial.port=%d\n",h);
mt4();
}//main
[–]twolanterns 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]Czavitsky[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)