Hi everyone,
Basically I need help on serial communications. Its my first time using it. Well here's the thing: My PC is connected to a microcontroller and I am trying to send code to the microcontroller. The code I am trying to send is on file so I have to use fopen to open it. The file has a bunch of Hex code thats needs to be sent. I am using the HANDLE command for serial communication. My question is this: Can I send a code a byte at a time using the WriteFile and a loop?