Hi,
I found an sample code of sending data through serial port to devices using WinAPI sio_putch and so on functions. I would like to ask,
1. Is it possible to send a string to serial port instead of byte by byte?
2. What does this function do ? (checksum>>8)
sio_putch(Port, (CheckSum>>8) & 0x00ff );
3. Any ways to find out the details and constant for sending and receving data such as STX, ETX and so on?
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...