A bit banged UART driver for AVR microcontrollers