As the clocks aren't synced when I write to the USB and read from USB
I think the problem is that the Arduino board has a clock that ticks independantly from my computers clock.
I dont understand why the Arduino won't wait until their is no data left on the output stream before sending more data.
I tried implementing some sort of ACK type packet switching
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16