implement printf like function 'myprintf' to send text to rs232, it only support %d now.