Module esp_ward::display

source ·
Expand description

§Display Module

This module provides abstractions over different types of displays, offering a set of traits for basic display operations and integrating with the embedded_graphics library for more advanced features.

The Display trait offers fundamental operations like setting pixels and writing strings, while the EGDisplay trait is tailored for displays that work with the embedded_graphics library, enabling the use of fonts and more complex drawing operations. Also there is no common peripheral initializing function in trait since all displays require different parameters for it, but constructor is available for every display.

§Currently Supported Displays

  • ili9341: A driver for the ILI9341 LCD display.
  • max7219: A driver for the MAX7219 LED display matrix (requires the alloc feature).
  • pcd8544: A driver for the PCD8544 LCD display used in Nokia 5110/3310.

Modules§

Enums§

  • Represents segments of a display which can be targeted for writing text or graphics

Traits§

  • Provides a basic set of operations for interacting with a display.
  • Extension of the Display trait to integrate with the embedded_graphics library.