项目作者: nottwo

项目描述 :
Arduino library for basic ANSI/VT220 terminal control
高级语言: C++
项目地址: git://github.com/nottwo/BasicTerm.git
创建时间: 2011-11-10T21:49:51Z
项目社区:https://github.com/nottwo/BasicTerm

开源协议:GNU Lesser General Public License v3.0

下载


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 borys@nottwo.org

Future development

  • expanded function key reading
  • blocking and half-blocking (timeout) reads