I/O control over serial

Please read the first topic telling how to use this forum and how to post code.