printf function for microcontroller