Interrupt-driven serial I/O library for AVR microcontrollers