Hello,

Here is my problem and if someone can help me solve it...
I try to send 4kb binary data to COM Port to some electronic device.
Writing data to eeprom.
Settings for mscomm are 115000,N,8,1
When I load data 4kb I need to send them to device random as 16 bytes
until all data will be sent.
How to load file and make buffer for sending 16 bytes only?


In my curent project, I send all data, but last 16 bytes what I send become 17 bytes ( WHY )?

Can someone post here how code would look like for doing this right.

B.R