Streamline "basic" code.

Added for-loops and defined "channel count" and "baud rate" variables to
streamline the code.