a very simple uart for using printf with