Fork of https://code.google.com/p/arduino-buffered-serial/