mbed based UART to I2C converter project