Created I/O serial example in C language.