BasicTerm Save

Arduino library for basic ANSI/VT220 terminal control

Project README

BasicTerm

BasicTerm is an Arduino library providing basic ANSI/VT220 terminal control over (typically) a serial connection.

The canonical version of BasicTerm is available on GitHub.

Features

  • terminal initialization
  • clearing the screen
  • arbitrary positioning of the cursor
  • outputting characters and strings
  • showing and hiding the cursor
  • setting NORMAL, BOLD, UNDERLINE, BLINK and REVERSE attributes
  • setting foreground and background color from 8 color palette
  • symbolic key reading (F1 - F4, arrow keys)

Dependencies

BasicTerm uses the F macro introduced in Arduino 1.0 to store constant strings in program flash memory and so will not work with prior versions of Arduino.

It should be possible to use BasicTerm with Arduino 022 in combination with Mikal Hart's Flash library with the accompanying modifications to the Print class.

Installation

Cloning the BasicTerm repository or copying the BasicTerm directory into ~/sketchbook/libraries and restarting the Arduino IDE should be sufficient to make BasicTerm available in the Sketch | Import Library menu.

License

BasicTerm is licensed under the terms of the GNU Lesser General Public License v3.

Author

Trannie Carter [email protected]

Future development

  • expanded function key reading
  • blocking and half-blocking (timeout) reads
Open Source Agenda is not affiliated with "BasicTerm" Project. README Source: nottwo/BasicTerm
Stars
44
Open Issues
1
Last Commit
6 years ago
Repository

Open Source Agenda Badge

Open Source Agenda Rating