Struct sensehat_screen::Screen
[−]
[src]
pub struct Screen { /* fields omitted */ }
Framebuffered 8x8 LED screen.
Methods
impl Screen
[src]
pub fn open(path: &str) -> Result<Self, FramebufferError>
[src]
Open the framebuffer to the screen at the given file-system path.
pub fn write_frame(&mut self, frame: &FrameLine)
[src]
Write the contents of a FrameLine
into the framebuffer. This will
render the frameline on the screen.