Struct microbit::led::Display

source ·
pub struct Display { /* private fields */ }
Expand description

Array of all the LEDs in the 5x5 display on the board

Implementations

Initializes all the user LEDs

Clear display

Set delay, time spent on each matrix row, in ms

Set refresh rate, time for matrix scan

Convert 5x5 display image to 3x9 matrix image

Display 5x5 display image for a given duration

Display 3x9 matrix image for a given duration

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.