Elcdx.Driver.TextRenderer (elcdx v0.1.1)

View Source

Handles text rendering and formatting for the LCD display.

This module provides single-line text rendering with horizontal scrolling for text that exceeds the display width. Multi-line rendering and text wrapping have been removed to keep the implementation simple and focused.

Responsibilities

  • Render text at current cursor position
  • Handle horizontal scrolling for long text
  • Control cursor visibility during rendering
  • Truncate text when scrolling is disabled

Features

  • Single-line Rendering: Text is rendered at current cursor position only
  • Horizontal Scrolling: Long text scrolls horizontally with animation
  • Text Truncation: Truncates text when scrolling is disabled
  • No Multi-line: Text never wraps or moves to next line

Summary

Functions

Main entry point for printing text with options.

Functions