Struct ls010b7dh01::Ls010b7dh01 [] [src]

pub struct Ls010b7dh01<SPI, CS, DISP> { /* fields omitted */ }

Methods

impl<SPI, CS, DISP, E> Ls010b7dh01<SPI, CS, DISP> where
    SPI: Write<u8, Error = E>,
    CS: OutputPin,
    DISP: OutputPin
[src]

[src]

Create a new Ls010b7dh01 object

disp is the pin connected to the display_enable pin of the memory LCD.

[src]

Enable the LCD

[src]

Disable the LCD

[src]

Write a single pixel at (x, y) a given value

true is a black pixel false is a white pixel

[src]

A demo function for writing every pixel in alternating off/on

[src]

Draw a rectangle

(x, y) are bottom right of the rectangle

[src]

Draw a Circle to the Buffer

Note: This algorithm is pulled directly from wikipedia: https://en.wikipedia.org/wiki/Midpoint_circle_algorithm

[src]

Draw the buffer to the screen

[src]

Clear the screen and the buffer

[src]

Enter display mode for power savings

Trait Implementations

Auto Trait Implementations

impl<SPI, CS, DISP> Send for Ls010b7dh01<SPI, CS, DISP> where
    CS: Send,
    DISP: Send,
    SPI: Send

impl<SPI, CS, DISP> Sync for Ls010b7dh01<SPI, CS, DISP> where
    CS: Sync,
    DISP: Sync,
    SPI: Sync