new function usart_write; use usart_printf in rtc_plug_test