Added error output and RX/TX enable calls