Is there such a code that can read serial ports or usb ports in real time? Some help please...