Using a microcontroller’s UART peripheral to implement a 1-wire bus master