Expand description
ILI9488 Display Driver
§Usage
To control the display you need to set up:
- Interface for communicating with display (display-interface-spi crate for SPI)
- Configuration (reset pin, delay, orientation and size) for display
ⓘ
let iface = SPIInterface::new(spi_bus, cs);
let mut display = Ili9488::new(
iface,
reset_gpio,
&mut delay,
Orientation::Landscape,
Rgb666Mode,
)
.unwrap();
display.clear(Rgb666::RED).unwrap()Structs§
- Display
Size320x480 - Generic display size of 320x480 pixels
- Ili9488
- The ILI9488 Driver
- Rgb111
Mode - 3 bpp
- Rgb565
Mode - 16 bpp
- Rgb666
Mode - 18 bpp
- Scroller
- Scroller must be provided in order to scroll the screen. It can only be obtained by configuring the screen for scrolling.
Enums§
- Adaptive
Brightness - Available Adaptive Brightness values
- Display
Error - A ubiquitous error type for all kinds of problems which could happen when communicating with a display
- Frame
Rate - Available frame rate in Hz
- Frame
Rate Clock Division - Frame rate clock division
- Mode
State - Specify state of specific mode of operation
- Orientation
- The default implementation of the Mode trait from above Should work for most (but not all) boards
- Rgb111
- Represents Rgb111 colors
Traits§
- Display
Size - Trait that defines display size information
- Ili9488
Memory Write - Trait implementation for writing different pixel formats to the ili9488’s memory
- Ili9488
Pixel Format - Trait for Valid Pixel Formats for the ILI9488
- Mode
- For quite a few boards (ESP32-S2-Kaluga-1, M5Stack, M5Core2 and others), the ILI9488 initialization command arguments are slightly different