A terminal emulator implementation for the LilyGO T5 E-Paper display module, providing a classic terminal interface on an energy-efficient E-ink screen.
-
Terminal Functionality:
- Basic text display and input handling
- ANSI escape sequence support for:
- Cursor movement and positioning
- Screen and line clearing
- Simple text attributes
- Automatic screen scrolling
- Serial input processing
-
Display:
- Grayscale rendering with 16 levels
- Custom border and margin settings
- Power-saving display management
- Configurable font with monospace support
- LilyGO T5 E-Paper module (link to seller)
- Serial connection for input
#include "Terminal.h"
Terminal terminal;
void setup() {
terminal.init();
}
void loop() {
terminal.handleInput();
}Terminal appearance can be adjusted in TerminalConfig.h:
static const int LINE_HEIGHT = 20;
static const int BORDER_WIDTH = 8;
static const int PADDING = 4;The terminal receives input via serial at 115200 baud. Connect to the device using any serial terminal to send commands and text.
Built using the Arduino IDE or PlatformIO. Requires the ESP32 board package.
