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
- 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)
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.
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.
BasicTerm is licensed under the terms of the GNU Lesser General Public License v3.
Trannie Carter [email protected]
- expanded function key reading
- blocking and half-blocking (timeout) reads