Skip to content

nottwo/BasicTerm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Arduino library for basic ANSI/VT220 terminal control

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages