Thank you AWOL, Well, really my program needs to do more things at teh same time, like read a digital input port and send it to the usb, for that i was asking about if the interrupt method will work. Well i will take a deep look to your example. Thank you again.