rewired to use uart txd, rxd and rts