SerialTerminal
==============

SerialTerminal is a simple taskwindow program demonstrating the SerialUSB 
module. Running it will open the first unopened USBSerial device. If one
isn't available it will try to open a motherboard serial device.

Typing in the window will send data and it will receive any data sent to it. 
Sources are included and you are free to modify them.

By default the serial device is configured with 

nohandshake;baud115200;data=8;stop=1;noparity

As an alternative to running !SerialUSB you can use the command SerialTerminal
at the command line to open a Serial terminal window

Syntax:

 Serialterminal [configuration options] [-echo] [-dev device_name] [-rx] [-tx] [-h]

 Default: nohandshake;baud=115200;data=8;stop=1;noparity
 Default line ending: line feed - lf (10)

 Configuration options:

  nohandshake, rts or dtr.   Set the handshaking
  baud=<baud rate>.          Set the baud rate eg baud=9600
  data=<n>                   where <n> is 5,6,7, or 8. Number of bits in a word eg data=8
  stop=<n>                   where <n> is 1 or 2. Number of stop bits eg stop=1
  noparity, odd or even.     Sets the parity

 Other options:

  -echo                      display the keys pressed.
  -dev  device_name          specify the device eg -dev SerialUSB1
  -rx                        open terminal read only
  -tx                        open terminal write only
  -h                         help
  -crlf                      send carriage return - cr (13) followed by line feed - lf (10) when return is pressed.
  -lfcr                      send line feed - lf (10) followed by carriage return - cr (13) when return is pressed.
  -cr                        send carriage return - cr (13) when return is pressed.

 Note:

  No spaces are allowed around the = sign.
  All parameters must be lower case

  -rx and -tx allows you to have separate windows for receiving and sending
