Serial.available() vs. Serial.print()

Now my question is: how to manage not to get this buffer to be overflown?

  1. Make sure you read data out faster than it is written in.
  2. Implement handshaking. (which is another way of saying 1) )