Moacir Flávio Gonçalves wrote: > Actually i´m trying to speed up communications. I´m talking to a > microcontroller, and it havent a buffer of received data, so i need > to send it a byte, wait a little and send some more data. I had sent > some data in sequence and it lost some bytes. Using sleep it works, > but 1 second it a lot of time... using it i´ll send only 1000 byte in > a second. Had you read my other question about COM speed?
Hardware or software handshaking would be the normal way to solve this serial communications problem, or increase the size of the buffer on the receiving system. I have successfully used the TComPort component to talk with serial systems at baud rates in the order of 38,400 baud. http://sourceforge.net/projects/comport/ David _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

