Smart Terminal Parameter Examples

From OpenCircuits
Jump to navigation Jump to search

What/Why

A lot of the behavior of the terminal is controlled by the file parameters.py. My own files have grown to be quite complicated with modifications to match many different arduino projects, and to automatically adjust to different hardware and software environments.

Because of this complexity I am providing a set of parameter files that you can use more easily as a basis for your own. These are in a subdirectory example_parms. To use copy one over into the smart_terminal directory and rename to parameters.py. I will start by explaining the file parameters_basic.py, and later explain more powerful and complex files.

The details of each parameter are commented in the parameter files, and you may also find it helpful to search the other SmartTerminal files to find their use. If at any point you find it useful to add parameters that is ok as long as you do not use a name already in use.

Basic

  • For a basic terminal application, nothing fancy but all the basics, and much more than the arduino serial monitor
  • This is based on ..../smart_terminal/example_parms/parameters_basic.py.
  • Well commented read the file

What is does

  • Modify the title of the application.
  • Change the communications parameters.
  • Specify a program for file editing.
  • Change size of the application.
  • Default data to be sent.
  • Change number of send areas.
  • More see the file.

More

More stuff

even more