implemented buffered output for HD44780