Update usart examples to match new API