Skip to content
/ vterm Public
forked from nottwo/BasicTerm

Arduino library for basic ANSI/VT220 terminal control

Notifications You must be signed in to change notification settings

dariomas/vterm

 
 

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.

[GitHub] https://github.com/RobTillaart/Arduino/blob/master/libraries/VT100/VT100.h [GitHub] https://github.com/rklancer/ansiterm http://www.hobbytronics.co.uk/tutorials-code/arduino-tutorials/arduino-vtserial-library

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 75.4%
  • C++ 22.6%
  • Other 2.0%