You don't need multiple threads for that. Just increase the timer timeout as suggested - 100ms will be just as fine as 1ms. How fast is your serial port? How many bytes can it transmit during 1ms?So the process is breaking, because i haven't used the multi thread concept.





Reply With Quote

Bookmarks