components

Module text_screen

Source
Expand description

Components for the Text Screen.

§Buffer Size

Displays can receive a large amount of data and having larger transfer buffers optimizes the number of bus writes.

As memory is limited on some MCUs, the `components::screen_buffer_size`` macro allows users to define the size of the screen buffer.

§Usage

let text_screen =
    components::text_screen::TextScreenComponent::new(board_kernel, tft)
        .finalize(components::text_screen_component_static!(40960));

Structs§