I need to create a program to receive and send some data using RS232.
Program should receive 16 bytes of data, sore it and than I'll write switch case, so if some specific data is received, program will go to specific label.
In C I know a lot of basic things, but I'm asking you to help me with this.
The program is supposed to run in Windows XP. The most helpful thing would be if someone could post some example code (with comments), where the data is being received [16bytes] and sored.
Anyone, who can help me is welcome!