One thing: how to "use the serial port to read the input."? I'll be very glad for example code