Struct clerk::Display [] [src]

pub struct Display<P, U> where
    U: Into<Address> + Home
{ /* fields omitted */ }

A HD44780 compliant display.

It provides a high-level and hardware agnostic interface to controll a HD44780 compliant liquid crystal display (LCD).

Methods

impl<P, U> Display<P, U> where
    P: Init + Send + Receive,
    U: Into<Address> + Home
[src]

[src]

Create a new Display using the given connection.

[src]

[src]

Sets the entry mode of the display.

[src]

Sets the display control settings.

[src]

Shifts the cursor to the left or the right by the given offset.

Note: Consider to use seek() for longer distances.

[src]

Shifts the display to the right or the left by the given offset.

Note that the first and second line will shift at the same time.

When the displayed data is shifted repeatedly each line moves only horizontally. The second line display does not shift into the first line position.

[src]

Clears the entire display, sets the cursor to the home position and undo all display shifts.

It also sets the cursor's move direction to Increment.

[src]

Seeks to an offset in display data RAM.

[src]

Seeks to an offset in display character generator RAM.

[src]

Writes the given byte to data or character generator RAM, depending on the previous seek operation.

[src]

Reads a single byte from data RAM.

[src]

Reads busy flag and the cursor's current address.

[src]

Writes the given message to data or character generator RAM, depending on the previous seek operation.

[src]