Currently im doing a little coding to communicate between two PCs through RS232 ports.
i am thinking of using:
"writeFile" to send a string to the other PC,
"readFile" to read back the acknowledgement string from that PC and
"strcmp" to check if the read back acknowledgement string is as expected.
i believe i will need to do some "openserialport" first then followed by the above parts...
i have the idea on how it should run, but no idea how to start the coding process.
Can anyone please advice me with some examples/solutions?
Appreciate it. thank you.